Skip to content
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' #14

Open
jorgeperezn opened this issue Apr 7, 2020 · 1 comment
Open

Failed to execute 'postMessage' on 'DOMWindow' #14

jorgeperezn opened this issue Apr 7, 2020 · 1 comment

Comments

@jorgeperezn
Copy link

jorgeperezn commented Apr 7, 2020

Video background goes well, however, I'm getting this error on the browser console:

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://localhost:8000').

I have tested some different configs for the playerOptions prop, such as enablejsapi: 1, or origin: window.location.origin,, but no luck so far.

Any ideas?
Thanks in advance

@jacobcarrington
Copy link

Same issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants