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:
Katherine Patenio 2022-04-20 15:57:51 +00:00
Родитель 94239d0425
Коммит d7faa70d7d
1 изменённых файлов: 1 добавлений и 8 удалений

Просмотреть файл

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