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)

Voici les versions de ce script où le code a été modifié. Voir toutes les versions.

  • v1.83 28/06/2017
  • v1.82 28/06/2017
  • v1.81 28/06/2017
  • v1.8 28/06/2017 More site-specific fixes
  • v1.6 28/06/2017 Should work on all websites now - fixed after testing with many different ones. Added whitelist settings for websites (as well as hosting sources). Refactored. More settings.
  • v1.5 28/06/2017 Updated description with note on usage with YouTube: 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.
  • v1.4 28/06/2017