Add inbrowser basic streaming

This commit is contained in:
nxshock 2021-10-10 12:16:37 +05:00
parent 73ba82a4be
commit 233c39d51f
4 changed files with 35 additions and 1 deletions

View file

@ -31,7 +31,7 @@
<th>Дата</th>
</tr>
{{range .Files}} <tr>
<td><img src="/icon?ext={{.Ext}}"> <a href="/download?filename={{.Name}}">{{.Name}}</a></td>
<td><img src="/icon?ext={{.Ext}}"> <a href="/download?filename={{.Name}}">{{.Name}}</a> <a class="right" href="/stream?filename={{.Name}}">просмотр</a></td>
<td><pre>{{.Size}}</pre></td>
<td>{{.Date}}</td>
</tr>