Youtube API - Failed to execute 'postMessage' on 'DOMWindow'

前端 未结 5 2220
渐次进展
渐次进展 2020-12-16 22:36

I\'m trying to start a youtube video when a modal is opened and not progress to the next page until it is completed.

My script below works in Chrome but produces thi

5条回答
  •  时光说笑
    2020-12-16 23:15

    My website is configured without the www and the youtube link was with www that's why i was getting this error. Try to make it similar, I removed www from my youtube, and it works.

提交回复
热议问题