taggart

Simple golang tagging filesystem webapp
Log | Files | Refs

commit 0282b8f82de7a121605ac37a19a4bb5f25d4b4fc
parent e95d322853615d43a14547140719e5ef972d0969
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Thu,  2 Oct 2025 17:05:46 +0100

Remove avi player, it'll never be supported

Diffstat:
Mtemplates/file.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/file.html b/templates/file.html @@ -68,7 +68,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" ".m4v" ".avi"}} + {{else if hasAnySuffix .Data.File.Filename ".mp4" ".webm" ".mov" ".m4v"}} <video id="videoPlayer" controls loop muted width="600"> <source src="/uploads/{{.Data.EscapedFilename}}"> </video><br>