-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to execute 'postMessage' on 'DOMWindow' #51
Comments
I think adding a host to the YouTube Player object could fix the issue: this$1.player = new YouTube.Player(this$1.elementId, {
...
host: 'https://www.youtube.com',
...
} |
i yust had the same issue and at least in my local enviroment setting |
|
for playerVars setting |
for me worked to, but |
Embedding video to the page causes this error in the console:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin (*host name*)
"Angular YouTube Embed" has the same problem.
The text was updated successfully, but these errors were encountered: