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

Bug: Playlist Feeds Broken in HTML5 due to Manifest files


I am trying to embed a playlist using the following:

var playerInstance = jwplayer("example-jwplayer");
playerInstance.setup({
playlist: "//content.jwplatform.com/feeds/<?= $data[0]['key']; ?>.json"
});

However this seems to fail miserably in HTML5 mode.
It looks like the cause of this failure is due to the.m3u8 manifest file within the json feed.

5 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

Can you please supply a link to a reproduction page where the issue is present? As long as the Media ID of the content is being passed properly to your player configuration, it should be working properly.

Thank you.

Logan

User  
0 rated :

https://github.com/toothRus/jwplayer-debug/blob/master/index.php

Alex

JW Player Support Agent  
0 rated :

Hi Logan,

What browser(s) and operating system(s) are you seeing the behavior in? The HLS stream is playing fine for me in Safari and also in Chrome after adding the hlshtml: true configuration option.

Thank you.

Logan

User  
0 rated :

Try setting, primary: "html5" as a configuration option. I updated the repo with it included.
I was using Chrome on OS X El Captain v.10.11.4.

Alex

JW Player Support Agent  
0 rated :

Logan,

Setting primary: “html5” would not actually do anything in this scenario. HTML5 is always the default rendering mode of the player, with the exception of HLS streams in Chrome which would currently need hlshtml: true to be added to your embed code in order to play HLS in HTML5 in Chrome.

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.