馃洃 Video autoplay blocked, for good (Chrome Extension)
noplay
is a Google Chrome extension. It aims to disable the autoplaying behavior of videos on your favorite websites.
noplay
removes the HTML5 autoplay
attribute on the <video>
and <audio>
tags. It also listens to DOM changes with the MutationObserver API in order to prevent lazyloading new autoplaying videos.
noplay
also deletes the autoplay=1
query string in the Youtube iframe
videos.
noplay
tweaks video
and iframe
tags, but cannot prevent videos from being played programmatically.
馃憢 Your thoughts and ideas are welcome! Submit an issue here
Facebook, Twitter and probably other websites already allow disabling video autoplay in their settings. It was not worth implementing a solution for them.
Disable autoplay on Facebook:
Go to Settings > Videos > Video autoplay (No)
Disable autoplay on Twitter:
Go to Settings > Acessibility > Video autoplay (uncheck the box)
You can download the extension on the Google Chrome Web Store
Report bugs by filing an issue
Pull requests are welcome!
MIT 漏 Dorian Camilleri