Pause/Mute HTML5 Audio/Video On Leaving Tab

Pause or mute HTML5 audio/video on leaving a tab and restore them back on returning.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
jcunews
일일 설치수
0
총 설치수
231
평점
8 0 0
버전
1.0.5
생성
2017-06-05
갱신
2021-03-16
라이선스
AGPL v3
동작 사이트
모든 사이트

By default, this script will pause instead of mute. To make it to mute instead of pause, change the muteInsteadOfPause variable in the script from false to true.

This script will only pause/mute if the current tab has been fully loaded before switching to other tab. IOTW, it won't pause/mute if the current tab is still loading when switching to other tab.