summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorJames Mills <prologic@shortcircuit.net.au>2020-03-28 15:00:43 +1000
committerJames Mills <prologic@shortcircuit.net.au>2020-03-28 15:00:43 +1000
commitca5969379ac4ef81f251fd9184d1196e34b1f3b5 (patch)
treeb7e31fbd8cbc06a59321868bc31d34ae9935c23b /templates/index.html
parentdab8ea9f1a3d97532fc05775f41b3ff2b529798e (diff)
Set preload to metdata
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index f953414..aea20cb 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -2,7 +2,7 @@
{{ $playing := .Playing }}
<div id="player">
{{ if $playing.ID }}
- <video id="video" controls poster="/t/{{ $playing.ID}}" src="/v/{{ $playing.ID }}.mp4"></video>
+ <video id="video" controls preload="metadata" poster="/t/{{ $playing.ID}}" src="/v/{{ $playing.ID }}.mp4" type="video/mp4"></video>
<h1>{{ $playing.Title }}</h1>
<h2>{{ $playing.Views }} views • {{ $playing.Modified }}<br />{{ $playing.Size | bytes }}</h2>
<p>{{ $playing.Description }}</p>