summaryrefslogtreecommitdiffstats
path: root/browser/app/profile/firefox.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-24 22:12:27 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-24 22:12:27 +0100
commite10dfb62ff916d49632febb59565f3c52f4970bd (patch)
treee3162c57574bcf7f91d262d9a8cd70ece01f9edb /browser/app/profile/firefox.js
parentfd6b1ad6f9768556bb03a0fbdb16587fdfd0a962 (diff)
parent27727874636868dc6d61e8117f81cd761c91e2ed (diff)
downloadUXP-e10dfb62ff916d49632febb59565f3c52f4970bd.tar
UXP-e10dfb62ff916d49632febb59565f3c52f4970bd.tar.gz
UXP-e10dfb62ff916d49632febb59565f3c52f4970bd.tar.lz
UXP-e10dfb62ff916d49632febb59565f3c52f4970bd.tar.xz
UXP-e10dfb62ff916d49632febb59565f3c52f4970bd.zip
Merge branch 'EME-work'
Diffstat (limited to 'browser/app/profile/firefox.js')
-rw-r--r--browser/app/profile/firefox.js19
1 files changed, 10 insertions, 9 deletions
diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
index b46d944e8..94615ded0 100644
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1330,20 +1330,21 @@ pref("identity.fxaccounts.migrateToDevEdition", false);
pref("ui.key.menuAccessKeyFocuses", true);
#endif
+#ifdef MOZ_EME
// Encrypted media extensions.
-#ifdef XP_LINUX
-// On Linux EME is visible but disabled by default. This is so that the
-// "Play DRM content" checkbox in the Firefox UI is unchecked by default.
+// EME is visible but disabled by default. This is so that the
+// "Play DRM content" checkbox in the browser UI is unchecked by default.
// DRM requires downloading and installing proprietary binaries, which
-// users on an open source operating systems didn't opt into. The first
-// time a site using EME is encountered, the user will be prompted to
-// enable DRM, whereupon the EME plugin binaries will be downloaded if
-// permission is granted.
+// users didn't necessarily opt-in to by installing the browser.
+// The first time a site using EME is encountered, the user will be
+// prompted to enable DRM, whereupon the EME plugin binaries will be
+// downloaded if permission is granted.
pref("media.eme.enabled", false);
+pref("media.eme.apiVisible", true);
#else
-pref("media.eme.enabled", true);
+// Disable redundant interfaces
+pref("media.eme.apiVisible", false);
#endif
-pref("media.eme.apiVisible", true);
// Decode using Gecko Media Plugins in <video>, if a system decoder is not
// availble and the preferred GMP is available.