-
Notifications
You must be signed in to change notification settings - Fork 549
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 Blocks videos #594
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AS the title suggests - can not get any videos to play, only sound.
I have tried setting headers to allow access, useCredentials etc, but nothing is working.
Has anyone got this working since the youtube policy change ? If so can we see a working example?
The examples provided do not work.
Someone mentioned we need to set the origin on the iframe ?
Edit:
I think this has something to do with the new CORS policies from Youtube which the videojs.js team have tried to deal with in regards to their withCredentials and crossorigin.
I have tried
Setting allow access origin headers. using embed urls, setting all variations of withCredentials and cross origins, embedding as video element, updating via videojs(element), setting the player options as an object.
Have tested all variations of http:. https:, //www,youtube, //youtube, on websites with http and https.
This has clearly been an ongoing issue for many people for a long time with the same problem not being answered.
The text was updated successfully, but these errors were encountered: