Open eric-nicular opened 1 year ago
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. "
Issue appears only in dev for me. In production URL is resolved.
@eric-nicular is this still the case? Can you update the package and see if it is resolved?
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. "