From 0691b8babe5d68d8e73512e7edd894db593cef1f Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Sun, 1 Sep 2019 19:22:28 +0000 Subject: [PATCH] 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 --- user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.js b/user.js index 11ce94d..bdcda3c 100644 --- 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+] ***/