Is it possible to make a link from a main menu to open a lightbox2 that will contain a flv video?
I have flowplayer installed but not swf tools
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
As was said before add the lightvideo tag to any link with the rel attribute, you can add the size like this. rel="lightvideo[width:600px; height:500px;]"
Adding it to a standard drupal menu item is a bit more difficult as you need to narrow down which menu item you want to apply it to. You could add it to the menu item with jQuery though, something like this:
$('.menu li a').attr('rel', 'lightvideo[width:600px; height:500px;]');
You'll need to narrow it down to the exact menu item you want, that will apply it to all of them.