Page 1 of 1

Force HTML5 player for media browser

PostPosted: Fri Aug 01, 2014 4:07 pm
by spudy12
Is there a way to force a browser to use the html5 video player and not flash? The quality is much better when being transcoded in real time.

How does MB detect what device it is?

Re: Force HTML5 player for media browser

PostPosted: Sun Aug 03, 2014 11:39 am
by zip
Change the user agent to iPad. But you won't be able to play transcoded files, as most browsers don't support hls.

Re: Force HTML5 player for media browser

PostPosted: Tue Sep 09, 2014 7:31 am
by patters
Zip - Is there a reason you don't have FlowPlayer automatically hand off to the browser HTML5 support when present? I'm fairly sure I read on the FlowPlayer site that this is possible. On my MacBook Air for instance, FlowPlayer works the cpu very hard during MediaBrowser playback. In Safari I use an extension ClickToPlugin specifically to reduce CPU load (and increase battery life). This also contains some .js wrappers to force sites like YouTube to render video as HTML5 and even 1080p content plays smoothly with negligible CPU load. Without HTML5 playback, Media Browser is pretty unusable on my Mac because it results in screaming fans within a few minutes.

If FlowPlayer can't do this checking and fallback, there are some other code examples out there:
https://github.com/videojs/video.js/issues/993

Re: Force HTML5 player for media browser

PostPosted: Tue Sep 09, 2014 12:56 pm
by spudy12
I also know that Chrome for android supports HLS. Might be worth having as an option?
I also came across this that seems to be a plugin for flowplayer playing hls files in the html5 player.
http://justhackme.wordpress.com/2013/03 ... -in-flash/


Here is the HLS support chart
http://www.jwplayer.com/html5/hls/

Re: Force HTML5 player for media browser

PostPosted: Tue Sep 09, 2014 6:41 pm
by zip

Re: Force HTML5 player for media browser

PostPosted: Wed Sep 10, 2014 11:23 am
by patters
I guess captions could be an issue, looking at the support table. In the Remote tab in Serviio Console perhaps have a setting where FlowPlayer is preferred if subs are needed, or alternatively prefer browser native HLS support where possible.