From 1403d4a0c2a0893fbfd21eeef63ac1e58168fd39 Mon Sep 17 00:00:00 2001 From: x Date: Sat, 24 Jan 2026 22:59:46 +0100 Subject: [PATCH] refactor: Change video preload to `metadata` and remove `autoplay`, `width`, and `height` attributes. --- views/item-partial.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/views/item-partial.html b/views/item-partial.html index da880ee..61c6f05 100644 --- a/views/item-partial.html +++ b/views/item-partial.html @@ -33,7 +33,7 @@ @if(item.mime.startsWith("video"))
+ preload="metadata" controls loop playsinline>
@elseif(item.mime.startsWith("audio"))
{{ item.id }} @if(session) - ({{ user.name }}) + ({{ + user.name }}) @endif - + @if(typeof item.tags !== "undefined") @each(item.tags as tag)