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': The target origin provided ('https://www.youtube-nocookie.com') does not match the recipient window's origin ('https://myapp.com')" #204

Closed
abvas opened this issue Jan 22, 2022 · 2 comments

Comments

@abvas
Copy link

abvas commented Jan 22, 2022

Hey!

I want to thank you for this wonderful plugin!
It's just a class.

But the error:
"Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube-nocookie.com') does not match the recipient window's origin ('https://myapp.com')"
interferes a lot.
Although the video is loading and the parallax works fine, there is this bug in devTools. The same error is present on your demo pages.

Checked it on:
Jarallax v1.12.8 and v1.12.5
Firefox 95
Chrome 97

I really like the plugin, but due to this error, I have to abandon yotube video and use vimeo and Self-Hosted Video (in my case, this is very inconvenient).
From the reviews here and on other resources, I understand that I am not alone in this. Many users have this error.

Can you please tell me if something can be done about it? Do you plan to do something, or is it not possible?

Many thanks.

@abvas
Copy link
Author

abvas commented Jan 22, 2022

Just noticed that often I get this same error with vimeo-video:

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://player.vimeo.com') does not match the recipient window's origin ('https://myapp.com')

So this is not only a youtube video problem.

@nk-o
Copy link
Owner

nk-o commented Jan 22, 2022

Duplicate of #120

There is an assumption why this is happening, which you can read on the issue above. But I don't have a solution.

@nk-o nk-o closed this as completed Jan 22, 2022
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