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

video doesn't play if flash is disabled


my player is set to "html" primary.

i have FlashBlock installed.

http://content.jwplatform.com/previews/DeuwXZ4N-kQloBFMm?exp=1447275174&sig=37490b5e7ba8ecc262a72bb3dc2e12b2

doesn't play.

10 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi, there.

Which browser are you using? HLS streams, such as the one you linked to, require Flash Player to play in all browsers except Safari for Mac and mobile devices. Since you are blocking Flash with a browser extension, that is why it is not playing.

If Flash was blocked properly, by either not being installed for Firefox or IE, or disabled in chrome://plugins for Chrome, then the player will fallback to a MP4 that we provide via JW Platform. However, since the browser is telling our player that Chrome looks like it’s enabled, it won’t fallback, but it will be blocked by that browser extension.

I hope that helps. Please let me know if you need any more help or have any other questions.

Thank you!

a...

User  
0 rated :

please check Modernizr, they do this test for disabled flash correctly.

Alex

JW Player Support Agent  
0 rated :

Hi, Alfredo.

Due to the shear amount of browser extensions out there, we cannot build functionality into our player to check for each one of them. All our browser can detect is if Flash Player is installed and enabled.

a...

User  
0 rated :

yeah, i just checked. the video plays fine (using html playback in chrome and firefox) if i force the flashVersion() function to return 0 in the debugger.

the issue here is that your flashVersion() returns a non-zero value when flash is installed, but blocked.

this means that anyone with a floash blocked enabled isn't going to be able to watch videos in JW Player, even though their browser may be perfectly capable of playing the video without flash - that's a pretty serious bug, if you ask me.

please see this github thread for modernizr's fix for this: https://github.com/Modernizr/Modernizr/issues/48. they check to see if the <embed/>'s css style is changed.

Alex

JW Player Support Agent  
0 rated :

Hi, Alfredo.

Chrome and Firefox are absolutely not able to natively play HLS streams. We workaround this by using Flash Player. When Flash Player is not installed or disabled (in the browser itself), our player falls back to playing a MP4 file through JW Platform. When you force flashVersion() to be 0, you are effectively telling our player that Flash is not installed or disabled (again, in the browser itself), so it falls back to the MP4 file and is not playing the same file it was trying to play before (the HLS stream).

Again, we are not interested in introducing workarounds within our player that rely on methods that may or may not break when browsers or Flash Player get updated. When a user installs a content-blocking plugin or extension, they usually understand that some functionality on websites they visit will not be available and they would have to temporarily disable those plugins in order to see that content.

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

Thank you!

a...

User  
0 rated :

i didn't say that firefox/chrome can play HLS, I said "the video plays fine". falling back to MP4 is a significantly better experience for my users than a black window.

Alfredo Guilbert

User  
0 rated :

ok, regardless, if flash is not installed, is there any way for the html player to do adaptive bitrate switching? or even for the UI to provide manual switching between streams?

Alex

JW Player Support Agent  
0 rated :

Hi, Alfredo.

The only other option you have would be manually generate a SMIL for dynamic RTMP streaming, but RTMP requires Flash on every browser, so that does not work for you.

a...

User  
0 rated :

doesn't DASH support adaptive bitrate in html? does JW platform support DASH yet?

Alex

JW Player Support Agent  
0 rated :

Streaming MPEG-DASH in JW Platform is on the roadmap to possibly be included in the future. You can vote for it on our Roadmap page at http://www.jwplayer.com/innovation/roadmap/.

This question has received the maximum number of answers.