I have been struggling for the past couple days trying to get my swf files to have a lightbox effect. I previously tried a plugin called wp-video-lightbox but that plugin didn’t show the preloaders in my flash videos. I then moved to the Easy FancyBox plugin which shows my preloaders just fine but all my flash videos seem to have fixed ratios. I read in the FAQS that you give the linked flash a class name of fancybox-swf and set the dimensions in the brackets. That worked for the first flash movie but every proceeding swf after that kept the same dimensions as the first. I thought the solution might be to create a new class for every new flash added but I have no idea how to go about hard coding that into the plugin. I will leave a link to my site but because employers are currently reviewing my portfolio I am doing a work around and using both the wp-video-lightbox and the easy fancybox plugins. I’ll paste the code I was using for the fancybox plugin when it kept all the same sized dimensions.
<a href="http://mitchbit.com/wp-content/uploads/2012/03/Activity4_3-Final.swf"><img src="http://mitchbit.com/wp-content/uploads/2012/03/CEWthumbnail.png" alt="CEW Interactive Video" /></a> <a href="http://mitchbit.com/wp-content/uploads/2012/03/DMT Banner.swf"><img src="http://mitchbit.com/wp-content/uploads/2012/03/DMTbanner.png" alt="DMT Banner" /></a> <a href="http://mitchbit.com/wp-content/uploads/2012/03/~PAF_map.swf"><img src="http://mitchbit.com/wp-content/uploads/2012/03/PAF-thumbnail.png" alt="PAF Map" /></a>
- The topic ‘[Plugin: Easy FancyBox] Swf files have all the same dimensions’ is closed to new replies.