X
Tap here to go to the mobile version of the site.

Support Forum

Html5 player on specific website

Posted

Hello! There's a website I visit (http://www.gazzetta.it) which uses a very shitty flash video player that is often really slow too (I'm on linux).

I've noticed that putting flash on "Never activate" makes it use the html5 player (which is so much better to me), but I'd like to leave the flash player as "click to play" since I need it on certain sites and I don't want to go to the website preferences to activate flash every time I need.

The thing is that if I disable flash only for that site, in the permissions window, it doesn't use the html5 player but instead I get the "This plugin is disabled" message.

How can I make the website use the html5 player while still keeping the Flash Plugin option "Ask to Activate"?

Hello! There's a website I visit (http://www.gazzetta.it) which uses a very shitty flash video player that is often really slow too (I'm on linux). I've noticed that putting flash on "Never activate" makes it use the html5 player (which is so much better to me), but I'd like to leave the flash player as "click to play" since I need it on certain sites and I don't want to go to the website preferences to activate flash every time I need. The thing is that if I disable flash only for that site, in the permissions window, it doesn't use the html5 player but instead I get the "This plugin is disabled" message. How can I make the website use the html5 player while still keeping the Flash Plugin option "Ask to Activate"?

Modified by ghoppa

Chosen solution

Okay, here's one way, using the Greasemonkey extension and a user script.

(1) Install the Greasemonkey extension from the Add-ons site:

https://addons.mozilla.org/firefox/addon/greasemonkey/

(2) Install the "Hide All Plugins" user script from Greasy Fork:

https://greasyfork.org/scripts/18256-hide-all-plugins

It's already set up for http://video.gazzetta.it/

Read this answer in context 2

Additional System Details

Application

  • User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

More Information

jscher2000
  • Top 10 Contributor
8758 solutions 71655 answers

Helpful Reply

I think using an add-on you can present an empty navigator.plugins collection, which is the browser information many sites use to check for Flash. That's the first method used on my test page here:

https://www.jeffersonscher.com/res/plugins.html

It would be more difficult to just strip out Flash and show the rest of the list, and that level of complexity might not be necessary if it's just for a few particular problem sites that don't use any other plugins.

I haven't finished my research, but plan to look into it after hours. Hopefully I can do it with a Greasemonkey user script (since actually doing a full extension is beyond my abilities).

I think using an add-on you can present an empty navigator.plugins collection, which is the browser information many sites use to check for Flash. That's the first method used on my test page here: https://www.jeffersonscher.com/res/plugins.html It would be more difficult to just strip out Flash and show the rest of the list, and that level of complexity might not be necessary if it's just for a few particular problem sites that don't use any other plugins. I haven't finished my research, but plan to look into it after hours. Hopefully I can do it with a Greasemonkey user script (since actually doing a full extension is beyond my abilities).
jscher2000
  • Top 10 Contributor
8758 solutions 71655 answers

Chosen Solution

Okay, here's one way, using the Greasemonkey extension and a user script.

(1) Install the Greasemonkey extension from the Add-ons site:

https://addons.mozilla.org/firefox/addon/greasemonkey/

(2) Install the "Hide All Plugins" user script from Greasy Fork:

https://greasyfork.org/scripts/18256-hide-all-plugins

It's already set up for http://video.gazzetta.it/

Okay, here's one way, using the Greasemonkey extension and a user script. (1) Install the Greasemonkey extension from the Add-ons site: https://addons.mozilla.org/firefox/addon/greasemonkey/ (2) Install the "Hide All Plugins" user script from Greasy Fork: https://greasyfork.org/scripts/18256-hide-all-plugins It's already set up for http://video.gazzetta.it/
cor-el
  • Top 10 Contributor
  • Moderator
17519 solutions 158412 answers

See also:

Bug 1169945 - Remove unused plugins.enumerable_names whitelist that hides plugins from navigator.plugins enumeration Bug 1186948 - remove plugins that are click-to-play from navigator.plugins

Please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

See also: Bug 1169945 - Remove unused plugins.enumerable_names whitelist that hides plugins from navigator.plugins enumeration Bug 1186948 - remove plugins that are click-to-play from navigator.plugins <i>Please do not comment in bug reports<br>https://bugzilla.mozilla.org/page.cgi?id=etiquette.html</i>

Question owner

Thanks Jefferson, that worked like a charm. I usually try to find solutions "in browser", without having to install extensions, since my laptop is a pretty old one and I can't make firefox too heavy. But greasemonkey seems to be very light so this solution is perfect.

Sorry for the late reply and again many thanks for your work! I'll definitely use this script for other cases too!

Thanks Jefferson, that worked like a charm. I usually try to find solutions "in browser", without having to install extensions, since my laptop is a pretty old one and I can't make firefox too heavy. But greasemonkey seems to be very light so this solution is perfect. Sorry for the late reply and again many thanks for your work! I'll definitely use this script for other cases too!

Modified by ghoppa