Replace url from youtube to embed code - Error: Permission denied to access property 'toString'

后端 未结 5 659
悲&欢浪女
悲&欢浪女 2020-12-02 12:56

I have this code and this error in FireBug:

Error: Permission denied to access property \'toString\'

How can i fix this error?

5条回答
  •  孤街浪徒
    2020-12-02 13:39

    Don't ignore this error just because its not related directly to your code.

    It seems to occur when your embed is initialy hidden.

    Just add ?html5=1 to your embed url. IE8 will still take flash version. or load your video with the Youtube api.

提交回复
热议问题