Support » Plugin: Easy FancyBox » [Plugin: Easy FancyBox] Swf files have all the same dimensions

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

    Fancybox HTML:

    <a href=""><img src="" alt="CEW Interactive Video" /></a>
    <a href=" Banner.swf"><img src="" alt="DMT Banner" /></a>
    <a href=""><img src="" alt="PAF Map" /></a>

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author RavanH



    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…

    Plugin Author RavanH


    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…

    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

    Plugin Author RavanH


    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.

    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.