aboutsummaryrefslogtreecommitdiff
path: root/static/ncatalog.html
diff options
context:
space:
mode:
authorFChannel <=>2021-01-31 23:18:21 -0800
committerFChannel <=>2021-01-31 23:18:21 -0800
commit3bedb51f6a878253cfdf10ab89c67312fcd93886 (patch)
tree8e81ca4bda88d590ffdacbb01555a59b92ed0fd6 /static/ncatalog.html
parent4a80553734f985dbbdf64b6c289a3985c0bc0880 (diff)
preload metadata of video to see first frame
Diffstat (limited to 'static/ncatalog.html')
-rw-r--r--static/ncatalog.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/ncatalog.html b/static/ncatalog.html
index a57e291..b4e6f76 100644
--- a/static/ncatalog.html
+++ b/static/ncatalog.html
@@ -49,7 +49,7 @@
if(getMIMEType({{ (index .Attachment 0).MediaType }}) == "video"){
var video = document.createElement("video")
video.controls = 'controls'
- video.preload = 'none'
+ video.preload = 'metadata'
video.muted = 'muted'
video.src = '{{ (index .Attachment 0).Href }}'
video.type = '{{ (index .Attachment 0).MediaType }}'