Closed jorginius closed 4 years ago
This PR (choose one or more, ✏️ delete others)
Please include a summary in Change Log: Unreleased and thank yourself.
Describe the changes below:
Some storage services (i.e. S3) won't send CORS headers if the CORS attribute is not included in the request. The browser will refuse to load the video (createVideoFromURL) from S3.
https://docs.aws.amazon.com/AmazonS3/latest/dev/cors-troubleshooting.html (2.a)
"If the header is missing, Amazon S3 doesn't treat the request as a cross-origin request, and doesn't send CORS response headers in the response."
More info:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#attr-crossorigin
This PR (choose one or more, ✏️ delete others)
Please include a summary in Change Log: Unreleased and thank yourself.
Describe the changes below:
Some storage services (i.e. S3) won't send CORS headers if the CORS attribute is not included in the request. The browser will refuse to load the video (createVideoFromURL) from S3.
https://docs.aws.amazon.com/AmazonS3/latest/dev/cors-troubleshooting.html (2.a)
"If the header is missing, Amazon S3 doesn't treat the request as a cross-origin request, and doesn't send CORS response headers in the response."
More info:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#attr-crossorigin