Easy FancyBox
fancybox-iframe not working (6 posts)

  1. kathyvandegaer
    Posted 3 years ago #

    I installed the Easy FancyBox plugin + enabled FancyBox for iframes + added the class to the link:

    <a title="" href="">

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    When I check through the 'preview changes link - it's working. When I check through the live site - it's not working.



  2. kathyvandegaer
    Posted 3 years ago #

    I use the yin yang theme:

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

  3. sheltoncochrandesigns
    Posted 3 years ago #

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

  4. kathyvandegaer
    Posted 3 years ago #

    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>

  5. sheltoncochrandesigns
    Posted 3 years ago #

    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 ]

  6. RavanH
    Plugin Author

    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic