aboutsummaryrefslogtreecommitdiff
path: root/profiles/noMedia.nix
diff options
context:
space:
mode:
authortilpner2020-04-05 21:12:22 +0200
committertilpner2020-04-05 21:12:22 +0200
commit63b30697b49580fb9cd5142cfea298c9b83d74da (patch)
treef464914f101ceb45786ffda5ae3aa2376cbce73d /profiles/noMedia.nix
parent58a4f76dcad054cac6d5624b6f95e23145c16ae1 (diff)
downloadfirefox-profiles-63b30697b49580fb9cd5142cfea298c9b83d74da.tar.gz
firefox-profiles-63b30697b49580fb9cd5142cfea298c9b83d74da.tar.xz
firefox-profiles-63b30697b49580fb9cd5142cfea298c9b83d74da.zip
noMedia: document, disable autoplay
Diffstat (limited to 'profiles/noMedia.nix')
-rw-r--r--profiles/noMedia.nix16
1 files changed, 15 insertions, 1 deletions
diff --git a/profiles/noMedia.nix b/profiles/noMedia.nix
index bd5b856..32c960a 100644
--- a/profiles/noMedia.nix
+++ b/profiles/noMedia.nix
@@ -1,11 +1,25 @@
{ ffLib }: {
+ meta.description = ''
+ This assumes a deployment where video consumption does not occur often.
+ It disables DRM and other encrypted media, as well as autoplay.
+ '';
+
policies = {
Preferences = ffLib.flattenAttrs {
media = {
eme.enabled = false;
- gmp-gmpopenh264.enabled = false;
+ gmp-gmpopenh264 = {
+ enabled = false;
+ autoupdate = false;
+ };
gmp-widevinecdm.enabled = false;
peerconnection.enabled = false;
+
+ autoplay = {
+ default = 1;
+ enabled.user-gestures-needed = true;
+ allow-muted = false;
+ };
};
};
};