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': #82

Open
codeKk21 opened this issue Dec 3, 2019 · 5 comments
Open

Failed to execute 'postMessage' on 'DOMWindow': #82

codeKk21 opened this issue Dec 3, 2019 · 5 comments
Labels

Comments

@codeKk21
Copy link

codeKk21 commented Dec 3, 2019

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

Please suggest a fix around this if someone has gone through this.

@tuanphungcz
Copy link

I have the same issue here, anyone has a fix for this?

@goto-bus-stop
Copy link
Member

goto-bus-stop commented Dec 18, 2019

Does this actually affect the functioning of the component? IIRC those messages appear even if you use the raw <iframe> API, but they don't actually affect anything.

e; Ah, I thought I'd seen this before 😄 A related issue on another react-youtube component: tjallingt/react-youtube#85
It looks like that was caused by a http/https mismatch. Not entirely sure if that's the same thing.

@sabit990928
Copy link

I have the same problem and it looks like it make sence in my case. I'll add some details later if can't fix the issue independently

@SunnyAureliusRichard
Copy link

The issue is still occurring.

@goto-bus-stop
Copy link
Member

Do you see an actual problem or only a log message? It's expected behaviour with the YouTube API as far as I can tell.

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

No branches or pull requests

5 participants