HSL adaptive streaming demo

This is a public HLS adaptive streaming demo with S3Media Stream Enterprise 7.9.3. This feature requires a premium 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:

Loading the player...

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.