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

.mp4 on mobile devices using jwplayer not working !!!


hello,

i am using Unreal media server to host my video files and jwplayer for viewing the videos on different platforms.

the code from html file to view the .mp4 video :

jwplayer('container').setup({
height: 360, width: 640 ,
playlist: [{
sources: [
{ file: "rtmp://unrealserverid:port/vod/mediaroot/mp4:media.mp4" }
]
}]
});

ISSUE : the .html file works fine on desktop browser, but unfortunately not working on Android Device. I am using Google Chrome browser on Android.

Please Help !

4 Community Answers

MisterNeutron

Best Answer 

Serve your MP4 with HTTP, and you'll have no problems. RTMP is, by definition, a Flash protocol, and there's no Flash on any mobile device. Doesn't matter what player you're using.

If you absolutely must have streaming (and ask yourself why you think you do), you're stuck with RTMP and HLS if you want to cover your bases.

View in conversation

mark

User  
0 rated :

Android does not support RTMP

mark

User  
0 rated :

nor does IOS for that matter

MisterNeutron

Best Answer  User  
0 rated :

Serve your MP4 with HTTP, and you'll have no problems. RTMP is, by definition, a Flash protocol, and there's no Flash on any mobile device. Doesn't matter what player you're using.

If you absolutely must have streaming (and ask yourself why you think you do), you're stuck with RTMP and HLS if you want to cover your bases.

Andrew

JW Player Support Agent  
0 rated :

Indeed. RTMP is not supported on mobile. HLS or http MP4 would be needed here.

This question has received the maximum number of answers.