diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/media.qtpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/media.qtpl b/templates/media.qtpl index 65b39c4..18eac0d 100644 --- a/templates/media.qtpl +++ b/templates/media.qtpl @@ -14,7 +14,7 @@ type MediaPage struct { {% for _, media := range p.Medias %} <div class="card-image"> {% if media.IsVideo() %} - <video controls muted="true" poster="/media/thumbnail?path_hash={%s media.PathHash %}" preload="none"> + <video class="image is-fit" controls muted="true" poster="/media/thumbnail?path_hash={%s media.PathHash %}" preload="metadata"> <source src="/media/image?path_hash={%s media.PathHash %}" type="{%s media.MIMEType %}"> </video> {% else %} |