FAQ  •  Register  •  Login

Force HTML5 player for media browser

<<

spudy12

DLNA master

Posts: 234

Joined: Thu Oct 18, 2012 7:07 pm

Post Fri Aug 01, 2014 4:07 pm

Force HTML5 player for media browser

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?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Aug 03, 2014 11:39 am

Re: Force HTML5 player for media browser

Change the user agent to iPad. But you won't be able to play transcoded files, as most browsers don't support hls.
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Tue Sep 09, 2014 7:31 am

Re: Force HTML5 player for media browser

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
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

spudy12

DLNA master

Posts: 234

Joined: Thu Oct 18, 2012 7:07 pm

Post Tue Sep 09, 2014 12:56 pm

Re: Force HTML5 player for media browser

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/
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Sep 09, 2014 6:41 pm

Re: Force HTML5 player for media browser

<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Wed Sep 10, 2014 11:23 am

Re: Force HTML5 player for media browser

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.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!

Return to General discussion

Who is online

Users browsing this forum: No registered users and 34 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.