AutoPlay Disabled for HTML5 Videos + Pause on Switch Tab

Prevents auto-play HTML5 videos in new tabs on any page (not just YouTube) and pauses videos when leave/switch/change the current tab, to prevent any video playing in the background. This auto play blocker is an alternative to Click-to-Play / click to play. On some times like YouTube, click twice to begin first playback — From Dan Moorehead (xeonx1), developer of PowerAccess™ (http://PowerAccessDB.com)

作者
PowerSheet.ai 🆓 No-Code App, Collab, Bot Platform
今日安裝
0
安裝總數
2,090
評價
26 3 1
版本
1.83
建立日期
2017-06-28
更新日期
2017-06-28
尺寸
13.4 KB
授權條款
未知
腳本執行於
所有網站

Prevents auto-play HTML5 videos in new tabs on any page (not just YouTube) and pauses videos when leave/switch/change the current tab, to prevent any video playing in the background.

This auto play blocker is an alternative to Click-to-Play / click to play. You can edit user settings variables near the top of the script for how long after a click occurs to allow starting playback of video (default is .5 seconds).

NOTE: On YouTube, currently need to click twice to begin playing the first time.

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.


By Dan Moorehead

Founder of:

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址