YouTube and Vimeo links not preventing new window
-
Take a look here: https://ilanadavidson.hatheadstudios.net/2013/03/fancybox-test-link/ and click the “Vimeo Test Link”.
For some reason, although a Fancybox iframe popup is opened, and works, the link also opens a new Vimeo window with the link.
Same thing happens with YouTube. This was working until recently. I’m using 1.5.0dev11
Any clue what’s going on? Chrome is also throwing an error:
Unsafe JavaScript attempt to access frame with URL https://ilanadavidson.hatheadstudios.net/2013/03/fancybox-test-link/ from frame with URL https://player.vimeo.com/video/62089497?. Domains, protocols and ports must match.
Which it attributes to swfobject.js, which is only loading inside the vimeo iframe.
- The topic ‘YouTube and Vimeo links not preventing new window’ is closed to new replies.