Autoplay Videos

Various discussions related to Adblock Plus development
Post Reply
Evie
Posts: 1
Joined: Mon Mar 30, 2015 3:58 pm

Autoplay Videos

Post by Evie »

Adblock Plus used to block videos - not good. Now it doesn't block them but the many videos set to Autoplay are using up my bandwidth. Is it possible to have an option to convert them to NOT autoplay, i.e. you have to click on them to view them? Thank you.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Autoplay Videos

Post by mapx »

use flashblock ==> when you want to play the video just click on it
https://addons.mozilla.org/firefox/addon/flashblock/
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: Autoplay Videos

Post by lewisje »

mapx wrote:use flashblock ==> when you want to play the video just click on it
https://addons.mozilla.org/firefox/addon/flashblock/
Firefox has had built-in click-to-play for a few years now, and even when it didn't, the plugin-blocking features of NoScript were more comprehensive than Flashblock; now all you need to do is set all the plugins to "Ask to Activate" and then install this extension to allow click-to-play to once again be per-element rather than per-page like it is now (maybe they got the idea from IE): https://addons.mozilla.org/en-US/firefo ... r-element/

Now for Chrome (this is not a browser-specific forum), just set plugins to click-to-play and make sure you didn't enable the plugin power saver flag in chrome://flags
For Safari 4, use ClickToFlash (Safari 4 doesn't even support ABP, but this is still good to know): http://clicktoflash.com/
For Safari 5+, use ClickToPlugin, based on the old ClickToFlash: https://hoyois.github.io/safariextensio ... ktoplugin/


For HTML5 media, try setting the Firefox preference media.autoplay.enabled to false, and for good measure, install a UserScript I've developed called "Disable Audio/Video Autoplay" (based on Mark Pilgrim's old "Disable Video Autoplay" UserScript, which doesn't always work); in other non-IE browsers, just install the UserScript (you'll need GreaseMonkey or Scriptish for Firefox or Pale Moon, TamperMonkey for Chrome or Opera, ViolentMonkey for Opera, or NinjaKit for Safari; in Opera 12 and earlier you install UserScripts in a folder you specify, rather than needing an extension to do so).


With all that said, ABP actually can block plugin-based and HTML5 media, just not necessarily with the right-click interface: The main content loaded by a plugin (the .swf, .jar, etc. in the embed or object tag) is of type object, content requested by it is of type object-subrequest (Firefox only, in other browsers it's just "object"), and HTML5 media is of type other, but usually you can just use the Web Inspector to figure out the relevant URL patterns and block them without using the specifiers for request type.
This page should explain better how to write these filters: en/filter-cheatsheet#options
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
Post Reply