From 7ea11bfeb4584c21571045241575774c628360ce Mon Sep 17 00:00:00 2001 From: arne Date: Thu, 20 Nov 2025 19:48:33 +0100 Subject: [PATCH] Do not autoplay sound for `gifv` attachments --- src/computersandblues/lodestone/app.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/computersandblues/lodestone/app.cljs b/src/computersandblues/lodestone/app.cljs index 4a8e271..cfda9aa 100644 --- a/src/computersandblues/lodestone/app.cljs +++ b/src/computersandblues/lodestone/app.cljs @@ -326,7 +326,7 @@ "video" [:video {:controls true} [:source {:type (str "video/" ext) :src remote-url}] [:a {:href (:remote_url attachment)} (str "Original video at " (:remote_url attachment))]] - "gifv" [:video {:controls true :loop true :autoplay true} + "gifv" [:video {:loop true :autoplay true :muted true} [:source {:type (str "video/" ext) :src remote-url}] [:a {:href (:remote_url attachment)} (str "Original video at " (:remote_url attachment))]] [:div [:strong "Unsupported attachment"]