CloudFront & S3 Restricted Access via Signed URL
Using Amazons CloudFront & S3 Restricted Access via Signed URL, I can access content directly through the browser via a link directly to a MP4. Providing the same link for JW player does not allow it to play the video. Docs (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html )
The resulting signed link looks something like this:
In the console, the ping.js script says "no media_id found", which i have seen before -- It should not be accessible unless the full link is followed with the signed url.
When trying to play the video, I get an "error playing media" in the console,
MediaError --> Code 4 -- Full code here: https://gist.github.com/cdesch/a89ac1aefbe088fedafe0d2ff273847b
My assumption is that JWPLayer is going out and following everything in the link up to the params. So it would be reading this https://dtn0cj8sdsdffhx.cloudfront.net/uploads/video/content/2/origin_Untitled_3.mp4 then stoping at the ? and returning that it cannot find content.
My question is -- > is this what JWplayer is doing? Is there a way to configure JWPlayer to read the whole link? Or is there a specific parameters in JWplayer to read content behind signed URLS?