YouTube HTML5 AutoPause

Automatically pause YouTube HTML5 videos on Youtube

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
chk1
Daily installs
0
Total installs
397
Ratings
1 0 0
Version
0.3
Created
2015-08-15
Updated
2015-09-10
Size
1.29 KB
License
N/A
Applies to

This script will automatically pause videos on Youtube. Works with the HTML5 video player that has been updated in August 2015. This only works on video pages that you open in new tabs or windows, directly navigating (i.e. left clicking) won't automatically pause the video.

This script works based on MutationObservers that will recognize when the video has loaded and the play/pause button is available. This means that on slow computers (or when opening a lot of tabs at once) this will likely play a few seconds of the video, but it will pause them more reliably than other more simple methods.