Initial /video/[id] endpoint
This commit is contained in:
21
templates/video.html
Normal file
21
templates/video.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Downloaded Videos</title>
|
||||
<style>
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Downloaded Video {{.video.Title}}</h1>
|
||||
|
||||
<video controls width="250">
|
||||
<source src="/{{.downloadDir}}/video/{{.video.VideoFilename}}" type="video/mp4" />
|
||||
|
||||
<!-- <source src="/media/cc0-videos/flower.mp4" type="video/mp4" /> -->
|
||||
</video>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user