By crabsoul on
I need to display swf files in lightbox. what process should i follow for this? I had enabled video support settings but it didn't work for me. Does this need any flash player installation too? support needed.
I need to display swf files in lightbox. what process should i follow for this? I had enabled video support settings but it didn't work for me. Does this need any flash player installation too? support needed.
Comments
=-=
yes you would need a module that handles the playing of flash. investigate the swftools.module
This module works perfectly
This module works perfectly for all type of media files, but still it doesn't provide any solution to display media files in lightbox.
=-=
AFAIK, there is NO switch to tell video to be used in lightbox, you have to theme it in using a custom.tpl.php file and adding the proper div or style
better late than never.
I just found some info on the subject...
don't know where to post it (here seems good)
This is a JS extension for Lightbox2 for .swf files:
http://code.google.com/p/flashinlightbox/
also there are alternatives to lightbox which support .swf like shadowbox for Drupal.
http://drupal.org/project/shadowbox
and you could always create an HTML page with flash embedded, and use the iframe approach e.g.
<a href="sites/MyFlash.html" rel="lightframe">text or image here</a>more about iframe approach:
http://drupal.org/node/252260