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

CORS Error when using Firefox #12

Open
eric-nicular opened this issue Oct 6, 2022 · 2 comments
Open

CORS Error when using Firefox #12

eric-nicular opened this issue Oct 6, 2022 · 2 comments

Comments

@eric-nicular
Copy link

When using the component, it appears to work in Chrome and Edge, but Firefox gives a CORS error and does not display the video, giving the following error messages:

"Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.youtube.com/oembed?url=https://www.youtube.com/watch?v=RlsMpoPqFfs&format=json. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘null’).

Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource. "

@sanderjson
Copy link

Issue appears only in dev for me. In production URL is resolved.

@sharu725
Copy link
Owner

@eric-nicular is this still the case? Can you update the package and see if it is resolved?

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

3 participants