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:
alwu 2019-01-23 01:55:17 +00:00
parent 42595cea0a
commit a4c70628b9

View File

@ -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