Greasy Fork is available in English.

YouTube - Pause background videos

Pause videos playing in other background tabs. When you start playback of a video in foreground tab, background playback will be paused.

Δημιουργός
q1k
Ημερήσιες εγκαταστάσεις
1
Σύνολο εγκαταστάσεων
130
Βαθμολογίες
0 0 0
Έκδοση
1.0.1
Δημιουργήθηκε την
09/04/2023
Ενημερώθηκε την
16/04/2023
Άδεια
Μη διαθέσιμη
Εφαρμόζεται σε

Auto pause videos playing in background tabs

When starting playback in a foreground tab, all background playback will be paused.
You can open many videos in new tabs, then switch to them and the other tabs will be automatically paused.



done:

  • pause background videos when foreground video started playback
  • don't pause foreground video when background video starts

to do (eta: soon™):

  • don't pause background videos if foreground video starts muted
  • pause videos that started playing in a background tab, eg. after a reload (possible conflict with browser/system controls)



Other scripts you may like: