diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index 0c6c0ae06d2b..31c46ea5d155 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -1473,16 +1473,16 @@ pref("media.gmp-widevinecdm.visible", true); pref("media.gmp-widevinecdm.enabled", true); #endif -#ifdef NIGHTLY_BUILD + // Switch block autoplay logic to v2, and enable UI. pref("media.autoplay.enabled.user-gestures-needed", true); // Set Firefox to block autoplay, asking for permission by default. pref("media.autoplay.default", 1); // 0=Allowed, 1=Blocked + +#ifdef NIGHTLY_BUILD // Block WebAudio from playing automatically. pref("media.autoplay.block-webaudio", true); #else -pref("media.autoplay.default", 0); // 0=Allowed, 1=Blocked -pref("media.autoplay.enabled.user-gestures-needed", false); pref("media.autoplay.block-webaudio", false); #endif