-
Notifications
You must be signed in to change notification settings - Fork 222
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 #96
Comments
Ditto here |
I'm actually not sure, as you might have noticed this error message does not appear very consistently (at least it doesn't for me) and it does not affect the YouTube player functionality. We depend on a chain of NPM modules to load the YouTube player for us so it is also not possible for us to fix this issue inside this module. |
Yeah, it also sometimes happens when only using the official YouTube JS API. Try refreshing https://gateway.ipfs.io/ipfs/Qmb3ggu57cXHTh3JxCCF4cY3Sds21d4UdZZe6T3W5GfkHL/ a few times with an open console and you should see it pop up sometimes. |
I was expecting this to sort it.. ? still have some sporadic errors.
|
did any one find a solution for this ? |
Hmm i did find this just now: brandly/angular-youtube-embed#116 is it fixed if you add window.YTConfig = {
host: 'https://www.youtube.com'
} somewhere in your app, before using react-youtube? |
@goto-bus-stop Doesn't seem to work here. |
I haven't find a solution for this issue, but I find a way to reproduce this issue. |
I get this message in console:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('https://mydomain.com').
I have read that a combo of
http
andhttps
could be the reason, but in this case both the iframe and the hosted domain is using https.Any idea of what it can be?
The text was updated successfully, but these errors were encountered: