diff options
author | tilpner | 2020-04-05 21:12:22 +0200 |
---|---|---|
committer | tilpner | 2020-04-05 21:12:22 +0200 |
commit | 63b30697b49580fb9cd5142cfea298c9b83d74da (patch) | |
tree | f464914f101ceb45786ffda5ae3aa2376cbce73d /profiles/noMedia.nix | |
parent | 58a4f76dcad054cac6d5624b6f95e23145c16ae1 (diff) | |
download | firefox-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.nix | 16 |
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; + }; }; }; }; |