• Ok. So I don’t know what’s happening here. I have a video with some custom script added to lower the volume in the window. If i link directly to the mp4 it opens in the iframe fine but the volume is 100%. If I link to my html file with the volume script added to be 20% (or any .html url), it opens in a new window. If you scroll to the bottom of this page you’ll see 2 links. One is the mp4 the other the html file with custom script.

    I have tried changing to twenty fourteen theme and it does the same thing.

    Any insight would be appreciated.

    Thanks!

    https://www.ads-software.com/plugins/easy-fancybox/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter blaksheep

    (@blaksheep)

    I’m also not getting any errors in the console.

    Both links open a FancyBox frame like they should but the first one (with the html link) then “breaks” from the iframe to move to the top browser frame. I cannot explain that behaviour as there does not seem to be any frame-breaker scripts running…

    I copied the exact links to my testing/demo site and there both work as they should. See on https://status301.com/sample-page/ the links at the bottom.

    Thread Starter blaksheep

    (@blaksheep)

    Thanks for the quick response.

    SO weird… Is there an easy way to just add my volume script to the iframe code? When I add it to the main page it doesn’t effect the iframe. I’ve looked through the plugin files, but don’t see an obvious place to put it. Is there some type of function I can use to hook into it?

    Thread Starter blaksheep

    (@blaksheep)

    Looks like the conflict was with the Page Transitions Plugin. I know it’s a long shot, but any idea why?

    I have no idea what the Page Transitions plugin actually does…

    Is that this one on https://www.ads-software.com/plugins/page-transition/? Then try giving the link a second class like this class="fancybox-iframe no-animation" which (at quick glance) should prevent the transition plugin from kicking in on that link…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘iframe class opening new window with url’ is closed to new replies.