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

HLS and HTML5


According to the JW6 docs, HLS is only supported on desktop browsers when using flash. Is JW going to support HLS streams for HTML5?

17 Community Answers

JW Player

User  
1 rated :

Good question, Same thing I want to do in my site.

Ethan Feldman

JW Player Support Agent  
0 rated :

Once other browsers support it, we will as well. Currently the only desktop browser that supports this is Safari on OS X.

JW Player

User  
0 rated :

I'd like to ask another question here.

What is the latest status of the player supporting HLS on android? I'm doing some live broadcasting using HLS on Edgecast. When I load up the player with the HLS stream in Chrome on my Galaxy S3 I get "No playable sources found". However, if I point my browser directly to the .m3u8 file, it loads and plays just fine in the native video player.

Ethan Feldman

JW Player Support Agent  
0 rated :

We are going to support that as well once Android 4+ has more traction.

JW Player

User  
0 rated :

Thanks for your reply Ethan but why don't you support HTML5 HLS streams anyway and just fallback to flash where appropriate?

Ethan Feldman

JW Player Support Agent  
0 rated :

We do, in Safari on OS X. Not Android, yet, though.

JW Player

User  
0 rated :

In that case, then my issue is that none of the events are triggering when a stream is unavailable and the default is html. The events only seems to trigger for flash as the primary when a stream is unavailable.

http://webdev2.otago.ac.nz/video/streaming.html

Ethan Feldman

JW Player Support Agent  
0 rated :

What browser and OS are you using?

JW Player

User  
0 rated :

Sorry. Safari. It errors as expected for html in Firefox and Chrome. IE just returns no playable sources found.

JW Player

User  
0 rated :

Ignore the IE issue. Flash wasn't installed.

Ethan Feldman

JW Player Support Agent  
0 rated :

Okay. Have you tried onSetupError as well?

JW Player

User  
-1 rated :

I've added onSetupError to my demo page at http://webdev2.otago.ac.nz/video/streaming.html but there's no joy there either. Probably as there's no setup error.

Ethan Feldman

JW Player Support Agent  
0 rated :

When you play the top player, does it just buffer, or do you get any message at all in the player at all?

JW Player

User  
0 rated :

The buffering/loading icon just spins endlessly for html. For flash, it spins a couple of times and then alerts with the error I set.

Ethan Feldman

JW Player Support Agent  
0 rated :

If it just buffers endlessly, you could use onBuffer to check this, something like 5 seconds:

jwplayer().onBuffer(function(){
	theTimeout = setTimeout(function(){
		alert('error');
	},5000);
});

JW Player

User  
0 rated :

I've added the onBuffer code to my sample page but the event is not triggering. The stream I'm using on the test page is not present so there's nothing to buffer. It just looks like it is when using html. Flash doesn't give the onBuffer error as well. It triggers the onError event correctly.

Ethan Feldman

JW Player Support Agent  
0 rated :

Email me, I have a demo using this – ethan [at] jwplayer [dot] com

This question has received the maximum number of answers.