commit d380e5550f00c8206deb7f42c80c535d7909f491
parent 2cfe1c8f46e552d4160bf6046c1c298112e5df43
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sat, 7 Dec 2019 14:23:06 -0500
Enable picture-in-picture in firefox
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/.mozilla/firefox/user.js b/.mozilla/firefox/user.js
@@ -13,6 +13,11 @@ user_pref("browser.urlbar.speculativeConnect.enabled", false);
user_pref("browser.urlbar.suggest.bookmark", true);
user_pref("browser.urlbar.suggest.history", false);
user_pref("browser.urlbar.suggest.openpage", false);
+// Enable picture-in-picture.
+user_pref("media.videocontrols.picture-in-picture.enabled", true);
+user_pref("media.videocontrols.picture-in-picture.video-toggle.always-show", true);
+user_pref("media.videocontrols.picture-in-picture.video-toggle.enabled", true);
+user_pref("media.videocontrols.picture-in-picture.video-toggle.flyout-enabled", true);
// Newtab page.
user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false);
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);