• Resolved OrignalCeiling

    (@abandonedar)


    Is there a way that I can change the default box size of opening in line content to other websites and YouTube videos? I ask this because when I have Pictures and Fancy box I-frames in the same post The I-frames only open up to their default sizes even if I tell it to change the width and the height in the code. I tried adding the same code to the pictures in the post as well, and that works. However now I have found a different lightbox plug-in I want to use called foobox, But I only want to use that for images and now when I open an image on a post it opens both the fancy box and foobox Picture. I took the fancy box code off and now we are back to my original problem is there a way I can change the default box sizes?
    I want the Youtube Videos to be Bigger and this is the line of code I use. Here is an example: http://www.abandonedar.com/gloryland-family-fellowship-church/
    <p id="watch-headline-title"><strong>The Gloryland Pastor's Choir On KARK 4 News: </strong><a class="fancybox iframe {width:1200,height:650}" href="http://www.youtube.com/embed/BQb3MBG5zVI">http://www.youtube.com/watch?v=BQb3MBG5zVI</a></p>

    Please help! Any thoughts? Thank you in advance!

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

Viewing 1 replies (of 1 total)
  • Hi, on your Settings > Media admin page you can set default sizes for different content types. You can even disable FancyBox for images and only use it for iframe content. But you HAVE to enable the iFrame option (for example) to be able to set the default size for iframe content AND you have to use class=”fancybox-iframe” (notice the hyphen there!) instead of ‘fancybox’ and ‘iframe’ seperated by a space…

    For Youtube, there is a dedicated Youtube section which does not need a class on the link at all since it can auto-detect links to youtube pages.

Viewing 1 replies (of 1 total)
  • The topic ‘Change Default size Settings’ is closed to new replies.