Disable HTML5 Autoplay
An extension for Chromium-based browsers that disables autoplay of all HTML5 audio and video
This extension disables HTML5 media autoplay on all websites. It requires little to no user interaction and should work on all websites without breaking functionality.
Here are some of its features with some technical details:
- Stops media with the
autoplayattribute - Works on dynamically-inserted elements and all iframes
- Toggle autoplay on second-level domains (will be saved across browser sessions in the future)
- Media player-specific code to prevent the controls from breaking
- Prevents unauthorized invocations of the
play()function via detecting user input events (for media without special code)- Fires
play,playing, andpauseevents manually during an unauthorized invocation
- Fires
Head over to the Wiki for more information.
Installation
Currently, only Chrome/Chromium and Opera are supported. Firefox will be supported when WebExtensions has matured enough to support all the features necessary.
Install from Chrome Webstore
Install from Opera Addons
Install from source (All supported browsers)
- Download and unpack the source code:
- Tagged versions
- master branch source code: .tar.gz or .zip
- In
chrome://extensions/, enable Developer mode - Use "Load unpacked extension..." and select the folder containing the extension source code