commit 8d51750a39c4b9220793890cd83c69ff18cf1324
parent c08111a743d5e995729a25771c656a71a46f6d24
Author: breadcat <breadcat@users.noreply.github.com>
Date: Mon, 22 Sep 2025 18:50:03 +0100
Mute videos by default
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/file.html b/templates/file.html
@@ -4,7 +4,7 @@
{{if hasAnySuffix .Data.File.Filename ".jpg" ".jpeg" ".png" ".gif" ".webp"}}
<img src="/uploads/{{.Data.EscapedFilename}}" style="max-width:400px"><br>
{{else if hasAnySuffix .Data.File.Filename ".mp4" ".webm" ".mov"}}
- <video controls width="400">
+ <video controls width="400" muted>
<source src="/uploads/{{.Data.EscapedFilename}}">
</video><br>
{{else}}