micnews / react-jw-player

A React Component API for JW Player
195 stars 94 forks source link

Flash player displayed instead HTML5 video player #114

Closed pjsikora closed 5 years ago

pjsikora commented 5 years ago

Hi!

Is there a way to block displaying flash player? When Flash player is installed video from JW player is displaying Flash object and doesn't load proper media. Is there any option to disable this behaviour?

Thanks in advance for response

danmakenoise commented 5 years ago

@fedojo This is usually an issue with JW Player itself. What version are you using, and what browser?

pjsikora commented 5 years ago

Firefox: 63.0.3 react-jw-player: 1.16.0 jw-player: 7.12.13

danmakenoise commented 5 years ago

@fedojo since you are using JW7, check here. You should be able to use the primary setup option, set to html5 to override this. You can pass this in via customProps.


<ReactJWPlayer
  customProps={{
    primary: 'html5',
  }}
/>```
pjsikora commented 5 years ago

Thanks @danmakenoise !

We changed config on our side and moved to version 8 of JWPlayer. It resolved an issue on our side. I hope your code will save someone's life ! :)