Reputation: 117
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('https://my-site.ru').
Nginx is on the sever. And of course there is a https!
But I got this error... and only in Google Chrome video didn`t start, Firefox shows all right (and Edge)!
Upvotes: 5
Views: 9240
Reputation: 66
We had the same issue with visibility = hidden and we were able to achieve pretty much the same trick by using CSS opacity 0.
Upvotes: 0
Reputation: 117
Wow, strange error, "visibility = hidden" is a reason. Be sure that the playback container (like its parents) is displayed before starting the player.
Upvotes: 3