summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/search.html6
-rw-r--r--templates/vid.html6
2 files changed, 10 insertions, 2 deletions
diff --git a/templates/search.html b/templates/search.html
index 6a9ce28..30e96b9 100644
--- a/templates/search.html
+++ b/templates/search.html
@@ -26,10 +26,12 @@
{{range .Items}}
<tr>
<td>
- <a href="/embed?id={{.Id}}&url={{.Url}}"><img width=240 src="{{.ThumbUrl}}"></a>
+ <!--<a href="/embed?id={{.Id}}&url={{.Url}}"><img width=240 src="{{.ThumbUrl}}"></a>-->
+ <a href="/native?url={{.Url}}"><img width=240 src="{{.ThumbUrl}}"></a>
</td>
<td>
- <a href="/embed?id={{.Id}}&url={{.Url}}">{{.Title}}</a>
+ <!--<a href="/embed?id={{.Id}}&url={{.Url}}">{{.Title}}</a>-->
+ <a href="/native?url={{.Url}}">{{.Title}}</a>
<br/>
<a href="{{.ChannelUrl}}">{{.ChannelTitle}}</a> | <a href="{{.AtomUrl}}">Atom feed</a>
<br/>
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}}