An extension for Chromium-based browsers that disables autoplay of HTML5 audio and video
JavaScript HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
LICENSE
README.md
background.js
content_script.js
manifest.json
options.html
options.js
popup.html
popup.js

README.md

(Disable HTML5 Autoplay logo should be here) 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 autoplay attribute
  • 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, and pause events manually during an unauthorized invocation

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)

  1. Download and unpack the source code:
  1. In chrome://extensions/, enable Developer mode
  2. Use "Load unpacked extension..." and select the folder containing the extension source code

License

Read the LICENSE file for more information