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

JWPlayer7 - how to disable flash and enable html5 player only


Hello,

Is there a way we can just not have flash at all and have HTML 5 as the primary for JWPlayer 7?
I tried the use primary: "html5" and fallback is false. I also disabled flash plugin from browser.

I got the error Error loading player: No playable source found.

jwplayer("dar-video").setup({
playlist:
[{
sources:
[
{file: "rtmp://lib-streaming-test.ucsd.edu:1935/dmrnew/_definst_/oa4nwx9l0nt44cxf,a0Tui5nYl0FY5ZvuuZUYIjjRaDw6d3Qt45UlhD5O2ons0yaoxk-8aSOwDWY1HiCP"},
{file: "http://lib-streaming-test.ucsd.edu:1935/dmrnew/_definst_/oa4nwx9l0nt44cxf,a0Tui5nYl0FY5ZvuuZUYIjjRaDw6d3Qt45UlhD5O2ons0yaoxk-8aSOwDWY1HiCP/playlist.m3u8"}
]
}],
width: "100%",
height: "100%",
aspectratio: "16:9",
rtmp: {bufferlength: 3},
analytics: {enabled: false},
primary: "html5",
fallback: false
});

Thanks

Vivian

3 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi Vivan,

It looks like you are embedding a RTMP stream as your primary source and a HLS stream as your secondary source. RTMP streams are based off of Flash and would require Flash to be able to be played in any scenario. This is why you would see “No playable sources found” if Flash was disabled.

As of JW Player 7.4, HLS streams can now be rendered in HTML5 in most of the browsers that we support:

  • Safari (for Mac and iOS)
  • Chrome (for Android – for Windows and Mac, you’ll have to add hlshtml: true to your player configuration)
  • Microsoft Edge (for Windows 10)

However, as of today, HLS playback would still require Flash in Firefox and Internet Explorer. However, the ability to play HLS in HTML5 in Firefox and IE 11 will be coming in JW Player 7.5, which should be released sometime in June.

Please let me know if you need any more help or have any other questions.

Thank you!

Vivian

User  
0 rated :

Hi Alex,

What does this mean? Does this mean we can't disable flash?

Thanks

Vivian

Donni

JW Player Support Agent  
0 rated :

Correct, it depends on the browser. Click here to check out our media format reference tables.

This question has received the maximum number of answers.