From 333c32e7df14c4a7e7c33fe084e7974cb2ab872d Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 17 Jul 2021 12:41:59 +0200 Subject: [PATCH] firefox: allow autoplay of muted video This is unfair to other formats like GIF. --- dotfiles/firefox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/firefox.js b/dotfiles/firefox.js index 2c70e96..37a5673 100644 --- a/dotfiles/firefox.js +++ b/dotfiles/firefox.js @@ -51,8 +51,8 @@ user_pref("browser.tabs.tabClipWidth", 1000); user_pref("full-screen-api.warning.timeout", 0); user_pref("full-screen-api.transition.timeout", 0); -// Don't autoplay videos (even without audio) -user_pref("media.autoplay.default", 5); +// Don't autoplay videos (except when no audio) +user_pref("media.autoplay.default", 1); // Remove some annoying animations (notably when going full screen) user_pref("toolkit.cosmeticAnimations.enabled", false);