always re-encode to mp4

This commit is contained in:
Carl Pearson
2024-09-07 15:24:42 -06:00
parent 9cc496ba74
commit 689ce8280e
5 changed files with 19 additions and 24 deletions

View File

@@ -10,10 +10,8 @@
<body>
<h1>Downloaded Video {{.video.Title}}</h1>
<video controls width="250">
<video controls playsinline width="250" preload="metadata">
<source src="/downloads/video/{{.video.VideoFilename}}" type="video/mp4" />
<!-- <source src="/media/cc0-videos/flower.mp4" type="video/mp4" /> -->
</video>
</body>

View File

@@ -35,8 +35,8 @@
</tr>
{{range .videos}}
<tr>
<td>{{.ID}} {{.Title}}</td>
<td>{{.URL}}</td>
<td><a href="/video/{{.ID}}">{{.Title}}</a></td>
<td><a href="{{.URL}}">{{.URL}}</a></td>
<td>{{.Length}}</td>
<td>{{.Status}}</td>
<td>