I am trying to get Streaming Engine to work nicely with AWS Cloudfront. If I use the IP address based URL given to me in the “Test Playback” It works great. However, when I try to use the Cloudfront endpoint to replace the IP address, I get an error.
When I try to play it back via VideoJS on a webpage I get an error also. The error is:
'Access-Control-Allow-Origin
I have tried to do all the CORS changes on the CloudFront side without any success. I have tried to replicate the settings in Cloudfront from an old AWS account, but that does not appear to work.
Under Origins, I have set it to Get, Head,Options, and checked Cache HTTP Methods OPTIONS.
I have tried both Cache Policy and Legacy cache settings
Any tips on what I could be doing wrong?
Thanks