user.js

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 0691b8babe5d68d8e73512e7edd894db593cef1f
parent 8d1c95c6501067b20fd5c5eb2e0803769ecd6465
Author: Thorin-Oakenpants <Thorin-Oakenpants@users.noreply.github.com>
Date:   Sun,  1 Sep 2019 19:22:28 +0000

2032: fix description

from earthlng 
> it blocks **all media** autoplay "until in foreground", not just audio.
> Source: https://dxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/browser-custom-element.js#1141
Diffstat:
Muser.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/user.js b/user.js @@ -938,7 +938,7 @@ user_pref("media.getusermedia.audiocapture.enabled", false); // user_pref("media.autoplay.default", 5); // [DEFAULT: 1 in FF67+] /* 2031: disable autoplay of HTML5 media if you interacted with the site [FF66+] ***/ user_pref("media.autoplay.enabled.user-gestures-needed", false); -/* 2032: disable audio autoplay in non-active tabs [FF51+] +/* 2032: disable autoplay of HTML5 media in non-active tabs [FF51+] * [1] https://www.ghacks.net/2016/11/14/firefox-51-blocks-automatic-audio-playback-in-non-active-tabs/ ***/ user_pref("media.block-autoplay-until-in-foreground", true); // [DEFAULT: true] /* 2033: disable autoplay for muted videos [FF63+] ***/