summaryrefslogtreecommitdiff
path: root/templates/vid.html
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2024-09-11 00:57:26 +0200
committerJulian Hurst <ark@mansus.space>2024-09-11 00:57:26 +0200
commitd71de8ab2490081c184dd8a30cc8c8d2cf718286 (patch)
tree7ac860bdaa6b717571dc3c86ee2c51d857389a80 /templates/vid.html
parentcbd9317993b188ef142aad11b64a235206369aa0 (diff)
downloadgrimtube-native_stream.tar.gz
Handle downloading with yt-dlp and serving videonative_stream
Diffstat (limited to 'templates/vid.html')
-rw-r--r--templates/vid.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/vid.html b/templates/vid.html
new file mode 100644
index 0000000..6383e2b
--- /dev/null
+++ b/templates/vid.html
@@ -0,0 +1,6 @@
+{{define "title"}}Index{{end}}
+{{define "content"}}
+ <video width="100%" height="100%" controls>
+ <source src="/stream?name={{.Name}}">
+ </video>
+{{end}}