Support » Plugins and Hacks » fancybox-iframe not working

fancybox-iframe not working

Viewing 5 replies - 1 through 5 (of 5 total)
  • I use the yin yang theme:

    For pages the plugin is working, not for portfolio items.

    I have been trying to embed facebook videos using Easy Fancy-Box and can’t make it work. What do you add to the code? Below is the embed code from facebook

    <iframe src=”https://www.facebook.com/video/embed?video_id=123405277686844″ width=”320″ height=”240″ frameborder=”0″></iframe>

    <iframe src=”https://www.facebook.com/video/embed?video_id=124493510911354″ width=”320″ height=”240″ frameborder=”0″></iframe>

    [ Signature moderated. ]

    I add this to the code: class=”fancybox-iframe”

    <a class="fancybox-iframe" href="http://njam.tv/recepten/waldorfsalade-0"><img alt="Bereiding" src="http://www.hoofdgerechten.be/wp-content/themes/yin_and_yang/images/btn-bereiding.jpg" /></a>

    Thank you for your comment. I tried your suggestion and it didn’t work for me, but for some strange reason the original embed code from face book is working on the actual website, but not in preview?

    [ Signature moderated. ]
    [ redcacted, support is offered via the forums and not email ]

    Plugin Author RavanH


    Hi Kathy, it looks like that theme loads content via ajax. Such content will not have fancybox bound to any links because that is done on the document ‘ready’ event which only happens once.

    The next release will allow for defining any additional events but it depends on the theme if there is an event triggered after ajax content is loaded and what the handler of that event is…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘fancybox-iframe not working’ is closed to new replies.