Disable HTML5 Video AutoPlay and Background Play (Pause On Leave Tab)

Prevents HTML5 videos from auto-playing in new tabs on any page (not just YouTube) and pauses videos when leave tab. NOTE: On YouTube, click the main video area to play the video so don't have to click the Pause/Play button twice for the first time. From Dan Moorehead (xeonx1), developer of PowerAccess™ (http://PowerAccessDB.com) (https://twitter.com/PowerAccessDB).

Verzia zo dňa 28.06.2017. Pozri najnovšiu verziu.

Autor
PowerSheet.ai 🆓 No-Code App, Collab, Bot Platform
Hodnotenie
0 0 0
Verzia
1.8
Vytvorené
28.06.2017
Aktualizované
28.06.2017
Veľkosť
13,4 KB
Licencia
neuvedené
Spustiť na
Všetkých stránkach

Prevents HTML5 videos from auto-playing in new tabs (except within configurable amount of time of a click) and pauses videos when leave tab.

You can edit user settings variables found near the top of the script to control behavior.

Handles YouTube and all other video sites/pages. Optimized for highest-performance compared to other scripts and avoids many cases of breaking video controls or seeking.

NOTE: On YouTube, click the main video area to play the video so don't have to click the Pause/Play button twice for the first time.

-From Dan Moorehead (xeonx1), developer of PowerAccess™ (@PowerAccessDB), AutoSub™ (@AutoSub), and the Visual3D Game Engine™ (@Visual3D_Engine)