From d7faa70d7d9a4d15ab289ed35355d7b0549d882e Mon Sep 17 00:00:00 2001 From: Katherine Patenio Date: Wed, 20 Apr 2022 15:57:51 +0000 Subject: [PATCH] Bug 1682117 - enable PiP mute toggle in release. r=pip-reviewers,mhowell Differential Revision: https://phabricator.services.mozilla.com/D144197 --- browser/app/profile/firefox.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index 01538edd43fe..a57e5655cfda 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -1745,18 +1745,11 @@ pref("media.autoplay.default", 1); // 0=Allowed, 1=Blocked, 5=All Blocked #endif 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.visibility-threshold", "1.0"); 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.neverForLanguages", ""); // Show the translation UI bits, like the info bar, notification icon and preferences.