Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
37
rated 0 times [  40] [ 3]  / answers: 1 / hits: 48014  / 13 Years ago, thu, september 15, 2011, 12:00:00

I've incorporated Vimeo into a WordPress theme I'm building, and I get these errors:




Unsafe JavaScript attempt to access frame with URL
http://themes.ibrogram.com/beta/blog/ from frame with URL
http://player.vimeo.com/video/4749536. Domains, protocols and ports
must match.








Unsafe JavaScript attempt to access frame with URL
http://themes.ibrogram.com/beta/blog/ from frame with URL
http://player.vimeo.com/video/28496744?title=0&byline=0&portrait=0.
Domains, protocols and ports must match.




It also (I think) is the reason for the page still loading: http://themes.ibrogram.com/beta/blog/


More From » console

 Answers
11

Read something about Javascript access security here:








Specifically about implementing Vimeo and JavaScript unsafe access, I found this on a discussion on the Vimeo forums:




If you're using a webkit browser (Safari or Chrome) that error is
actually coming from the Webkit Inspector trying to access the iframe
(the Webkit Inspector is actually written in HTML and Javascript).



The
thing to make sure is that you can't call any of the api or addEvent
methods on the iframe until the player has finished loading. As per
the example, you need to add the onLoad event first and then execute
your code inside of that handler.







And second, I checked link you provided, and it loads fast and fine to me, so it is definitely not reason why you keep having this page loading long time


[#90074] Wednesday, September 14, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jennifer

Total Points: 517
Total Questions: 110
Total Answers: 104

Location: New Caledonia
Member since Fri, Sep 11, 2020
4 Years ago
;