Disable HTML5 Autoplay
A Google Chrome extension that disables autoplay of HTML5 audio and video
This extension creates an icon in the address bar. It has two states:
: All HTML5 media is "suspended". During suspension, they will pause and their JavaScript API methods will be replaced with dummy functions. Click this icon to "resume" all media.
: All HTML5 media are in their original, untouched state. Click this icon to "suspend" all media.
The extension will suspend all media on page load.
Installation
- Download the source code (easiest way is to download a .tar.gz or .zip of the master branch)
- In
chrome://extensions/, enable Developer mode - Use "Load unpacked extension..." and select the folder containing the extension source code
TODO
- Add page-specific and player-specific handlers to deal with JavaScript-based controls breaking (e.g. YouTube)
- Add website blacklisting xor whitelisting(?)
- Add statistics for functions called during suspension(?)