Permission denied - opening vimeo inside jquery horizontal accordion

I am trying to create a website using a horizontal jquery accordion after this handy tutorial http://www.marghoobsuleman.com/jQuery-common-accordion

here is the site that I created (new user, so there is only one hyperlink, sorry) at www.adjustyour.tv/201008

now, every time I click on the title to open another tab of the video, firefox gives me the following error -

Permission denied for <http://player.vimeo.com> to call method Location.toString on <http://www.adjustyour.tv>.

I have no first idea what this means (being a beginner) ... any help would be appreciated. let me know if I need to provide more details.

Update

thanks to mkoistinen, who pointed out that I forgot some code, I downloaded a small zip folder - I would just put a snippet of code, but I don’t know which snippet is needed

www.adjustyour.tv/201008/website_code.zip

+3
source share
3 answers

Assuming you embed vimeo player with your iframe embed code, this error comes from Vimeo javascript code in iframe. See http://vimeo.com/forums/topic:28447#comment_3658475 for their comments on this - in short, you will have to live with it until they rewrite their embed code!

+3
source

Firstly, a cool design concept!

Secondly, you really didn’t post any code here, but I wonder if you are passing document.location somewhere and it wants document.location.href? Just a wild hunch. Good luck

0
source

Source: https://habr.com/ru/post/1763506/


All Articles