• 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.

    Site: http://www.mitchbit.com/Flash
    Fancybox HTML:

    <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>

    http://wordpress.org/extend/plugins/easy-fancybox/

Viewing 5 replies - 1 through 5 (of 5 total)
  • hi,

    that effect of the first meta parameters between {} propagating to all the others is known. nothing i can do about it… creating a new class for every flash movie would indeed fix the issue, but you’ll have to modify my plugin heavily to make it bind fancybox to these new classes.

    it seems the other lightbox uses the query parameters for size? not a bad idea, so it will go on the roadmap but I do not have any time short term to pick this up…

    Ah, hang on… I just thought of possibility:

    Disable the flash support in the FancyBox options and give your links each class="fancybox iframe {width:300px,height:200px}" where you change the size parameters for each one, of course…

    Thread Starter mitchbit

    (@mitchbit)

    I gave that method a try, but ended up with similar results. The flash movies then took on the iframe layout but any flash proceeding the first took the same dimensions. Damn, was hoping that would be the fix lol

    Bummer… I was hoping that too…

    I guess you’ll have to wait for the next release and get fancyBox2 running on your site. It should have more flexibility in that respect.

    Thread Starter mitchbit

    (@mitchbit)

    Ah, no worries. I’ll be looking forward to it’s release! Thanks again for the help

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Easy FancyBox] Swf files have all the same dimensions’ is closed to new replies.