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

m3u8 problem with moblie


m3u8 Dont paly in moblie browser
my code
var videoPlayer = jwplayer('my_video1').setup({




file: 'http://10.254.1.2:1935/live/1/playlist.m3u8',
image:'../assets/img/22.jpg',
width: '100%',
height: 320,
//autostart: true,
skin: {
name: 'thin'
},
//Adding your brand: Logo & Right-click
logo: {
file: '../skins/logo_thin.png',
logoBar: '../skins/logo_bar.png',
position: 'top-left',
link: ''
},
abouttext: 'dish network',
aboutlink: '',
});
videoPlayer.on('ready',function() {
jwLogoBar.addLogo(videoPlayer);
});

I test url in vlc palyer is work !

5 Community Answers

George

JW Player Support Agent  
0 rated :

Which device are you testing this on? Which browser?

Try visiting the streaming URL directly in the browser:
http://10.254.1.2:1935/live/1/playlist.m3u8

George

JW Player Support Agent  
0 rated :

I’m also getting the following output from MediaStreamValidator:
-——————————————————————————————————————-
MUST fix issues
-——————————————————————————————————————-

Error: Illegal MIME type
—> Detail: MIME type: (null)
—> Source: http://10.254.1.2:1935/live/1/playlist.m3u8

Error: Could not connect to the server.
—> Detail: (null)
—> Source: http://10.254.1.2:1935/live/1/playlist.m3u8

Ammar R. Jabbar

User  
0 rated :

I used iphone and Android with chrome browser and firefox

Ammar R. Jabbar

User  
0 rated :

this is local server
http://10.254.1.2:1935/live/1/playlist.m3u8

George

JW Player Support Agent  
0 rated :

Hello Ammar,

I’d need access to the stream to test, and did visiting the URL directly in Android Chrome work? We do not support Android Firefox or iOS Chrome, you’d have to test on iOS Safari.

Overall, on mobile we let the browser handle HLS playback as it natively supports the format, if the stream does not play directly then it’s an issue with the stream.

This question has received the maximum number of answers.