mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
Bug 1487844 - turn on the blocking-autoplay by default for all branches. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D17315 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
42595cea0a
commit
a4c70628b9
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user