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

I need to force HTML5 first, before flash if the browser supports it...how?


I need to force HTML5 first, before flash if the browser supports it...how?

4 Community Answers

MisterNeutron

User  
0 rated :

There's no need to force anything. In its default configuration, JW Player will use HTML5 if it's available, then Flash. See http://misterneutron.com/JW6video/ - that will use Flash only in IE8 or Firefox on WinXP.

Of course, you must be providing a properly-encoded MP4 file, and not something like an FLV, which is Flash only.

Randy

JW Player Support Agent  
0 rated :

Hello,

MisterNeutron is right. You can always check the current rendering mode as well to ensure playback in the console: jwplayer().getRenderingMode() .

Randy

shadi

User  
0 rated :

Where can I check the rendering mode? where to put this command? jwplayer().getRenderingMode() .

MisterNeutron

User  
0 rated :

Unless you need to check the rendering mode programatically, you can just right-click on the video and tell immediately what mode it's in. If you see the message "About Adobe Flash Player," you're in Flash mode. Otherwise, you're in HTML5 mode. Try it on these two pages. You don't even have to start the video - just right-click on the player frame:

http://misterneutron.com/JW6video/

http://misterneutron.com/JW6videoFlash/

This question has received the maximum number of answers.