зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1682117 - enable PiP mute toggle in release. r=pip-reviewers,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D144197
This commit is contained in:
Родитель
94239d0425
Коммит
d7faa70d7d
|
@ -1745,18 +1745,11 @@ pref("media.autoplay.default", 1); // 0=Allowed, 1=Blocked, 5=All Blocked
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
pref("media.videocontrols.picture-in-picture.enabled", true);
|
pref("media.videocontrols.picture-in-picture.enabled", true);
|
||||||
|
pref("media.videocontrols.picture-in-picture.audio-toggle.enabled", true);
|
||||||
pref("media.videocontrols.picture-in-picture.video-toggle.enabled", true);
|
pref("media.videocontrols.picture-in-picture.video-toggle.enabled", true);
|
||||||
pref("media.videocontrols.picture-in-picture.video-toggle.visibility-threshold", "1.0");
|
pref("media.videocontrols.picture-in-picture.video-toggle.visibility-threshold", "1.0");
|
||||||
pref("media.videocontrols.picture-in-picture.keyboard-controls.enabled", true);
|
pref("media.videocontrols.picture-in-picture.keyboard-controls.enabled", true);
|
||||||
|
|
||||||
#ifdef NIGHTLY_BUILD
|
|
||||||
// Show the audio toggle for Picture-in-Picture.
|
|
||||||
pref("media.videocontrols.picture-in-picture.audio-toggle.enabled", true);
|
|
||||||
// Enable keyboard controls for Picture-in-Picture.
|
|
||||||
#else
|
|
||||||
pref("media.videocontrols.picture-in-picture.audio-toggle.enabled", false);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
pref("browser.translation.detectLanguage", false);
|
pref("browser.translation.detectLanguage", false);
|
||||||
pref("browser.translation.neverForLanguages", "");
|
pref("browser.translation.neverForLanguages", "");
|
||||||
// Show the translation UI bits, like the info bar, notification icon and preferences.
|
// Show the translation UI bits, like the info bar, notification icon and preferences.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче