HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

General discussion, compatibility and contributed extensions.

Moderators: Indalecio, satrow, Lootyhoof, Andrew Gilbertson

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 749
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA

HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby JustOff » Sun Jan 22, 2017 10:53 pm

I'd like to share another one small helper add-on for Pale Moon - HTML5 Video Tuner. It designed to disable HTML5 Video completely or just MSE (Media Source Extensions) part of specs selectively per domain using toolbar button. Such disabling is performed only for those functions that are globally enabled in browser settings. Page reload is required to apply the changes. The easiest way to check how it works is to visit https://www.youtube.com/html5.

HTML5 Video Tuner was created for my own needs, but questions, suggestions and bug reports are always welcomed.

coffeebreak
Astronaut
Astronaut
Posts: 721
Joined: Sat Sep 26, 2015 4:51 am
Location: U.S.

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby coffeebreak » Mon Jan 23, 2017 5:57 pm

Just used it to force Flash Player on YouTube, it worked perfectly. Thank you for sharing this.

supermario_md
Hobby Astronomer
Hobby Astronomer
Posts: 16
Joined: Sun Dec 04, 2016 2:18 pm

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby supermario_md » Tue Jan 24, 2017 6:20 pm

Thank you.
That i need.

But, why button is on status bar?

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 749
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby JustOff » Tue Jan 24, 2017 6:46 pm

supermario_md wrote:But, why button is on status bar?

Feel free to customize toolbars and buttons as you wish 8-)

supermario_md
Hobby Astronomer
Hobby Astronomer
Posts: 16
Joined: Sun Dec 04, 2016 2:18 pm

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby supermario_md » Tue Jan 24, 2017 11:14 pm

JustOff wrote:
supermario_md wrote:But, why button is on status bar?

Feel free to customize toolbars and buttons as you wish 8-)


Oh! Yes! I'm stupid. :mrgreen:
Thank you.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 19122
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby Moonchild » Wed Jan 25, 2017 1:28 am

If you will, please get this one listed on the Pale Moon add-ons site (contact Andrew) -- it's going to be a very useful little tool for those annoying websites that refuse to be browser-agnostic.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.
Image

Tar_Ni
Apollo supporter
Apollo supporter
Posts: 36
Joined: Tue May 24, 2016 1:52 am

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby Tar_Ni » Wed Jan 25, 2017 2:16 am

Sounds great but I have no toolbar button when installing... So I can't enable or disable anything.

GreenGeek
Fanatic
Fanatic
Posts: 214
Joined: Sun Sep 11, 2016 4:36 pm

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby GreenGeek » Wed Jan 25, 2017 3:41 am

It bumped Crush Those Cookies button off status bar (CTC was not in Customize either). CTC had been at far right so it may have had the same effect if something else had been there but I did not test further. Disabling HTML5 extension and restarting browser brought CTC button back at normal position. Just reporting what I observed, no need for this right now. PM 27.0.3, Win 8.1

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 749
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby JustOff » Wed Jan 25, 2017 5:30 am

Moonchild wrote:If you will, please get this one listed on the Pale Moon add-ons site

It's already there, thanks to Lootyhoof :thumbup:

Tar_Ni wrote:Sounds great but I have no toolbar button when installing... So I can't enable or disable anything.

Does your status bar enabled? Is there any errors in console?

GreenGeek wrote:It bumped Crush Those Cookies button off status bar (CTC was not in Customize either). CTC had been at far right so it may have had the same effect if something else had been there but I did not test further. Disabling HTML5 extension and restarting browser brought CTC button back at normal position. Just reporting what I observed, no need for this right now. PM 27.0.3, Win 8.1

Thanks for reporting this, I'll check compatibility with CTC.

UPD: Unfortunately I can't reproduce your situation on clean profile, all icons are always in place. Do you have any special setting for status bar? Is there any errors in console?

User avatar
Al6bus
Fanatic
Fanatic
Posts: 117
Joined: Mon Aug 24, 2015 2:55 pm
Location: Lemberg

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby Al6bus » Wed Jan 25, 2017 3:09 pm

Good replacement for YouTube Flash Video Player addon. Thank you for your efforts.
Windows 7 Pro x64 - Pale Moon x86

T2001
Moongazer
Moongazer
Posts: 7
Joined: Thu Feb 09, 2017 7:40 pm

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby T2001 » Thu Feb 09, 2017 10:31 pm

Just installed it, works great!
One suggestion I would make though, is perhaps adding a tick-box option to be able to block all HTML5 by default, so that HTML5 will then only work on webpages/domains that the user allows manually? (Kinda like how you can set Flash to be disabled by default, and only let it run by default on individual websites you permit, which is what I currently do)

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 749
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby JustOff » Thu Feb 09, 2017 11:34 pm

Ok, I'll think about such an option.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 3791
Joined: Tue Oct 09, 2012 7:37 pm

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby New Tobin Paradigm » Fri Feb 10, 2017 1:25 am

This won't be possible in an extension.. It would require such a facility to be built into the MSE code.. Sure.. You could try and juggle the pref on and off but that is global not per-domain... It won't work reliably.

Not everything is just a javascript object you can manipulate.
[ T O B I N W A V E ]

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 749
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby JustOff » Fri Feb 10, 2017 3:21 pm

Matt A Tobin wrote:This won't be possible in an extension.. It would require such a facility to be built into the MSE code.. Sure.. You could try and juggle the pref on and off but that is global not per-domain... It won't work reliably.

Not everything is just a javascript object you can manipulate.

No need to jerk the global option, this can be done much easier.

T2001 wrote:One suggestion I would make though, is perhaps adding a tick-box option to be able to block all HTML5 by default, so that HTML5 will then only work on webpages/domains that the user allows manually?

Here it is: HTML5 Video Tuner 1.0.6.

T2001
Moongazer
Moongazer
Posts: 7
Joined: Thu Feb 09, 2017 7:40 pm

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby T2001 » Fri Feb 10, 2017 4:44 pm

JustOff wrote:
T2001 wrote:One suggestion I would make though, is perhaps adding a tick-box option to be able to block all HTML5 by default, so that HTML5 will then only work on webpages/domains that the user allows manually?

Here it is: HTML5 Video Tuner 1.0.6.


Excellent! Many thanks for that. Now I can use this add-on to disable HTML5 by default, and simply enable it on the one or two websites I frequent that don't have a Flash player option. No more having to go into about:config in order to re-enable HTML5 when visiting those sites, and then disabling again when done :D

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 749
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA

Re: HTML5 Media Tuner - disable HTML5 video/audio and/or MSE per domain

Postby JustOff » Wed Feb 15, 2017 11:30 am

HTML5 Video Tuner gained the ability to control HTML5 Audio along with Video and renamed to HTML5 Media Tuner. The corresponding option is enabled by default.

LL25255252
Moonbather
Moonbather
Posts: 67
Joined: Sat Aug 29, 2015 3:44 am

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby LL25255252 » Sun Feb 19, 2017 5:49 am

Tomaso wrote:Just FYI; PM v27.1.0 contains a working UA override for SoundCloud, so it will now work with MSE both enabled and disabled:
general.useragent.override.soundcloud.com = Mozilla/5.0 (Windows NT 6.1; WOW64; rv:3.0) Goanna/20160101 PaleMoon/27.1.0

@JustOff, Before I upgraded to PM 27.1.0 I used your addon successfully to "manage" the MSE issue with media from souncloud.com and https://www.brightcove.com/en/
I checked it and now with PM 27.1.0 I can play media with those 2 sites without your addon (...and without the need to open PM Options). So what do you recommend - should I disable the addon ?
Are there sites which have a problem also with 27.1.0 and which your addon can help with ?
Can you give some examples to such sites ?

Thanks in advance.

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 749
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby JustOff » Sun Feb 19, 2017 10:30 am

I always trying not to leave enabled (or even installed) a single add-on that I don't use actually. So if you have solved your problems by new Pale Moon release there is no reason to keep HTML5 Media Tuner running.

Btw, personally I still have problems with SoundCloud and MSE :shifty:

User avatar
kizo07
Banned user
Banned user
Posts: 344
Joined: Mon Oct 17, 2016 2:11 pm

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby kizo07 » Sun Feb 19, 2017 11:43 am

Off-topic:
JustOff wrote: problems with SoundCloud
SoundCloud plays fine here. Both with/without HTML5 Media Tuner and MSE enabled/disabled :think:

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 749
Joined: Thu Sep 03, 2015 7:47 pm
Location: UA

Re: HTML5 Video Tuner - disable HTML5 video and/or MSE per domain

Postby JustOff » Sun Feb 19, 2017 11:51 am

Off-topic:
kizo07 wrote:SoundCloud plays fine here. Both with/without HTML5 Media Tuner and MSE enabled/disabled :think:

In my case, MSE enabled + Play/Pause + SoundCloud in background tab == distortions :problem:


Return to “Browser extensions”

Who is online

Users browsing this forum: No registered users and 1 guest