Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

HLS JWP Bug


If absolute link in main manifest or in stream manifest comes with no scheme (scheme is omitted, normal practice in HTTP standard), ex:

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=200000
//cdn.cloudstorage.com/gear1/prog_index.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=311111
//cdn.cloudstorage.com/gear2/prog_index.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=484444
//cdn.cloudstorage.com/gear3/prog_index.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=737777
//cdn.cloudstorage.com/gear4/prog_index.m3u8

player interprets absolute links as relative, and final link is incorrect.

2 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi, there.

My name is Alex and I am one of the Support Engineers at JW Player. I will be more than happy to assist you with your questions.

You are correct that the omission of the protocol is perfectly valid HTML5, so leaving the protocol out of the URIs in your manifest should work. If you try to embed this manifest in our player and view it in Safari or Microsoft Edge, it actually will work. This is because HLS is only natively supported in those browsers on desktop. In all of the other browsers that HLS is not supported natively in, our player currently uses Flash to assist with playback. As you probably know, Flash is pretty strict when it comes to mixing security, so this is why it is not working in Chrome, Firefox and IE.

Very soon, we’ll be adding functionality to our player to render HLS without Flash in those browsers that currently need it. However, this still doesn’t mean it will be native HTML5, it will just be using a different provider to handle the playback. I just tested a protocol-less manifest with that newer version and it throws a JavaScript error. So, I already have the engineers looking into this to possibly add support for it, but I cannot make any guarantees if or when it will happen. However, it does make sense and they agree – I just don’t know how difficult it would be. You can keep an eye on our JW 7 Release Notes page as we post release notes and bug fixes with every new update.

In the meantime, you may just have to add the protocol scheme to the URIs in the manifest as a workaround.

Please let me know if you need any more help or have any other questions.

Thank you!

Alex

JW Player Support Agent  
0 rated :

Hi, there.

One of our Product Managers got back to me to advise me that they have added this feature request to their roadmap. However, I do not have a timeframe for a release. You can keep an eye on our JW 7 Release Notes page as we post release notes and bug fixes with every new update.

Please let me know if you need any more help or have any other questions.

Thank you!

This question has received the maximum number of answers.