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

How can I embeb a live stream on a mobile browser?


This woks fine on a PC:

jwplayer('playerpmtoYlRcDFrP').setup({
playlist: [{
image: "http://bestradiobrasil.com/br/wp-content/uploads/2014/02/logo-bestradio.png",
title: "BestRadio Brasil - Quem ouve, curte!",
sources: [
{file: "rtmp://best.viaflux.com/brb/brbtv.mp4"},
{file: "http://best.viaflux.com/brb/brbtv.mp4"}
]
}],
width: '300',
height: '194',
aspectratio: '16:9',
mute: 'true',
primary: 'flash',
autostart: 'true'

But on a mobile browser it just displays a black box and nothing else.

As far as I understood from Google and JW Player Support site, it appears to be impossible to do a live stream on mobile. Is that right?

Thanks and my best regards!

4 Community Answers

Ethan Feldman

JW Player Support Agent  
1 rated :

Do you have an HLS stream?

rpichuebas

User  
0 rated :

I don't think so, but I'll check with my service provider. Why do you ask that? :)

Ethan Feldman

JW Player Support Agent  
1 rated :

Because RTMP is Flash only.

rpichuebas

User  
0 rated :

My service provider provided an HLS stream, but it still doesn't work:

jwplayer('playerpmtoYlRcDFrP').setup({
playlist: [{
image: "http://bestradiobrasil.com/br/wp-content/uploads/2014/02/logo-bestradio.png",
title: "BestRadio Brasil - Quem ouve, curte!",
sources: [
{file: "rtmp://best.viaflux.com:1935/brb/brbtv"},
{file: "http://best.viaflux.com:1935/brb/brbtv/playlist.m3u8"}
]
}],
width: '300',
height: '194',
aspectratio: '16:9',
mute: 'true',
primary: 'flash',
autostart: 'true'
});

Do you think it could be a crossdomain problem?

Best regards,
Julio

This question has received the maximum number of answers.