Start a new topic
Answered

Video not playing from Amazon Cloudfront

I am receiving the error:
XMLHttpRequest cannot load http://my-playlist.m3u8. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://my-origin' is therefore not allowed access.
Is there a way to make this work?  I don't think I can set the Access-Control-Allow-Origin header on Amazon.  We do have a crossdomain.xml file placed and HLS playback in JWPlayer Flash works, just not HTML5 only.

Thanks,
Torsten

Best Answer

Hi Torsten,


Did you try to configure CORS by following the documentation from here:  http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html



1 Comment

Answer

Hi Torsten,


Did you try to configure CORS by following the documentation from here:  http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html



Login to post a comment