taggart

Simple golang tagging filesystem webapp
Log | Files | Refs

commit 1c83c8e1e9891439eea897d85981af09ab422ccc
parent 58f70b39c2581907705309227f18ade31e47e336
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Mon, 29 Sep 2025 12:45:12 +0100

Loop video files by default

Diffstat:
Mtemplates/file.html | 2+-
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"}} <a href="/uploads/{{.Data.EscapedFilename}}" target="_blank"><img src="/uploads/{{.Data.EscapedFilename}}" style="max-width:400px"></a><br> {{else if hasAnySuffix .Data.File.Filename ".mp4" ".webm" ".mov"}} - <video id="videoPlayer" controls width="600" muted> + <video id="videoPlayer" controls loop muted width="600"> <source src="/uploads/{{.Data.EscapedFilename}}"> </video><br> {{else}}