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

Only using .m3u8 for source


Hello

I'm wondering if it is safe to use .m3u8 only as video source or would it be wise to add individual .mp4s as additional source?

For example, would all browsers and devices play the video with the code below (only m3u8 being used as source)?

<rss version="2.0" xmlns:jwplayer="http://rss.jwpcdn.com/">
<channel>

<item>
<description>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam eget massa bibendum lorem varius imperdiet.</description>
<jwplayer:image>./poster-image.png</jwplayer:image>
<jwplayer:source file="./playlist.m3u8" />
</item>

</channel>
</rss>

Or, should add mp4s as below to be absoutely safe?

<rss version="2.0" xmlns:jwplayer="http://rss.jwpcdn.com/">
<channel>

<item>
<description>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam eget massa bibendum lorem varius imperdiet.</description>
<jwplayer:image>./poster-image.png</jwplayer:image>
<jwplayer:source file="./playlist.m3u8" />
<jwplayer:source file="./a6.mp4" label="720p" />
<jwplayer:source file="./a5.mp4" label="540p" />
<jwplayer:source file="./a4.mp4" label="360p" />
</item>

</channel>
</rss>

Many thanks
Jun

5 Community Answers

Todd

JW Player Support Agent  
0 rated :

Hi Jun,

Assuming you are using JW Player 6.9, HLS content will play back on any browser with native HLS support or the Flash plugin installed. The only devices that would not be covered are desktops without the Flash plugin and Android 4.0 and earlier. In order to assure playback in these scenarios, yes, you could define fallback MP4 videos in this way.

Hope this helps,
Todd

mark

User  
0 rated :

*The above answer assumes you have a JWPlayer PRO license or above

mark

User  
0 rated :

EDIT - PREMIUM LICENSE OR ABOVE

mpace

User  
0 rated :

Thanks Todd. Your answer ensured my test.

yes, mark - using the correct licese ;o)

Todd

JW Player Support Agent  
0 rated :

You’re welcome. Please let me know if you have any other questions,
Todd

This question has received the maximum number of answers.