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

rtmp and html5


The new 5.10 player supports html5 for apple devices. All my embedded files wirk fine. You suggest ti add


'modes': [ {type: 'flash', src: 'player.swf'}, { type: 'html5', config: { 'file': '/videos/sintel.mp4', 'provider': 'video' } }, { type: 'download', config: { 'file': '/videos/sintel.mp4', 'provider': 'video' } } ]


to my current embed code. everytime I do this, the rtmp does not play on the regular website. Any suggestions?

14 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Link?

JW Player

User  
0 rated :

This is the link:

telejay.com/index.php/by-country/33-canada/48-city-news-toronto-hd

I have removed

'modes': [ {type: 'flash', src: 'player.swf'}, { type: 'html5', config: { 'file': '/videos/sintel.mp4', 'provider': 'video' } }, { type: 'download', config: { 'file': '/videos/sintel.mp4', 'provider': 'video' } } ]

because it wont play when added. Any other way to make it html5 applicable?

Ethan Feldman

JW Player Support Agent  
0 rated :

You need to add the modes block back. HTML5 doesn’t support RTMP, so you need the modes to fail back to a file that HTML5 can actually play. Please add it back, and I will troubleshoot why it is not working when you add it…

JW Player

User  
0 rated :

I added the modes block back. Now it works on the website... have no idea what I did wrong the first time.

But anyway, it still does not play on Apple devices.

Ethan Feldman

JW Player Support Agent  
0 rated :

Glad that works.

Well yes, it doesn’t work because you are pointing at this file for html5/download – http://telejay.com/videos/sintel.mp4

Sintel is our sample video. You need to actually point to an actual MP4 file on your server for the modes fallback to work correctly.

JW Player

User  
0 rated :

Awww, thanks!!! My brain works slow today...

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

JW Player

User  
0 rated :

I am looking to do this with the new jw player 6. I would like to have an rtmp stream for primary and then add the htm5 secondary with a m3u8 live stream

Please see go.thechurchonline.com/jwplayer.html


Thanks!

Ethan Feldman

JW Player Support Agent  
0 rated :

Modes no longer works in jw6, see this doc – http://www.longtailvideo.com/support/jw-player/28834/migrating-from-jw5-to-jw6

You can’t use jw5 variables in a jw6 setup.

JW Player

User  
0 rated :

Thanks for the quick response, I have been reading the fourms and documents for hours and must be missing it. in a jw6 setup can i have a primary stream as rtmp and an html5 fallback stream using an http:// m3u8 stream?




JW Player

User  
0 rated :

I was able to get it, thank you!

Ethan Feldman

JW Player Support Agent  
0 rated :

Great, np!

JW Player

User  
0 rated :

Could you post the solution to the JW6 setup for RTMP/HTML5 support.

I'm currently using version 5.10 and my setup works with flash but is buggy with html5 native.

Sadly, I do not have a link as the system is in dev and there is no exposing link to the web.

Ethan Feldman

JW Player Support Agent  
0 rated :

You just need set up the player, and provide two sources, one rtmp, one html5 file.

This question has received the maximum number of answers.