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

Chrome and Firefox won't recognise playlist; Safari does.


Hi,

I've specified a playlist with a static mp4 file followed by a live stream. This works fine in Safari, but in Chrome and Firefox, the player doesn't even seem to realise that there is a playlist (no prev/next arrows) and just plays the static file. Same thing happens no matter if the playlist is specified in the javascript, or as an external .rss file.

Here's a link: http://listento.pbs.org.au.s3.amazonaws.com/live-drivelive2015/

Any ideas?

Thanks!

.jurgen

8 Community Answers

MisterNeutron

User  
0 rated :

Please give us a link to your site.

jherrieven

User  
0 rated :

Without a link it's hard to confirm, but I suspect your second file is an HLS stream - yet you probably don't have a premium licence...

James Herrieven

Cooper Reid

JW Player Support Agent  
0 rated :

Hi jurgen,

It’s not clear to me exactly what the problem is. Can you please provide a link so I can troubleshoot more effectively? The link you included is not valid -

Regards,
Cooper

jwplayer

User  
0 rated :

Apologies for the weird link problem! Here's one that works:

http://listento.pbs.org.au/live-drivelive2015/

The code is:

<script type="text/javascript">
jwplayer("playerLow").setup({
playlist: [{
title: "Drive Live 2015 promotion",
sources: [
{ file: "drivelive2015_24.mp4" }
]
},{
sources: [
{ file: "http://eno.emit.com:1935/live/3pbs_aac_24.stream/playlist.m3u8" },
{ file: "rtmp://eno.emit.com:1935/live/mp4:3pbs_aac_24.stream" }
],
title: "Live! PBS 24k"
}],
rtmp: {
bufferlength: 3
},
fallback: false,
wmode: 'window',
height: 40,
width: 200
});
</script>

jwplayer

User  
0 rated :

I forgot to add, in response to @jherrieven - as you can see, there is an HLS stream here. But does that explain why it works in Safari? And when it's not in a playlist, it also works fine.

Cooper Reid

JW Player Support Agent  
0 rated :

You’ll need to either have all of the playlist items be html5 friendly streams, or add `primary`: flash to your setup. The second playlist item is being removed because those two sources aren’t HTML5 compatible. The player default to html5 compatible when the primary param is omitted.
Cooper

jwplayer

User  
0 rated :

Ah! Okay I understand. Thanks!

Cooper Reid

JW Player Support Agent  
0 rated :

No problem!

This question has received the maximum number of answers.