his is a public HLS adaptive streaming demo with S3Media Stream Enterprise 8.3.5. This feature requires a starter license of JW Player.
This video uses public HLS adaptive streaming. However, the link to the m3u8 file is encrypted therefore it is harder to find out where the video segments are located (but not impossible).
Here is a video linked to an S3 bucket:
This requires setting a CORS policy on the bucket. CORS means Cross-Origin Resource sharing. It is a security feature to make sure a HLS video only works from your website, nowhere else.
CORS in action:
For example, in order to make the above video to work on this site, we added the following policy:
<?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>*.wp21century.com</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> <MaxAgeSeconds>3000</MaxAgeSeconds> <AllowedHeader>*</AllowedHeader> </CORSRule> </CORSConfiguration>
For CloudFront web distributions, you need to set CORS behaviors as well.