diff options
| author | James Mills <prologic@shortcircuit.net.au> | 2020-03-27 18:16:23 +1000 |
|---|---|---|
| committer | James Mills <prologic@shortcircuit.net.au> | 2020-03-27 18:16:23 +1000 |
| commit | 89d7d71cc5b443dc392ca9aa4368362467a7d70a (patch) | |
| tree | 0a9a3228ff46d1cb9f6c8cf975a2ec8df6b7e621 /templates/index.html | |
| parent | 10a5f824984713433536bd2e3371527281d9956a (diff) | |
Display video size
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html index 32ed16b..eeec78d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,7 +4,7 @@ {{ if $playing.ID }}
<video id="video" controls poster="/t/{{ $playing.ID}}" src="/v/{{ $playing.ID }}.mp4"></video>
<h1>{{ $playing.Title }}</h1>
- <h2>{{ $playing.Views }} views • {{ $playing.Modified }}</h2>
+ <h2>{{ $playing.Views }} views • {{ $playing.Modified }}<br />{{ $playing.Size | bytes }}</h2>
<p>{{ $playing.Description }}</p>
{{ else }}
<video id="video" controls></video>
@@ -26,7 +26,7 @@ <img src="/t/{{ $m.ID }}">
<div>
<h1>{{ $m.Title }}</h1>
- <h2>{{ $m.Views }} views • {{ $m.Modified }}</h2>
+ <h2>{{ $m.Views }} views • {{ $m.Modified }}<br />{{ $m.Size | bytes }}</h2>
</div>
</a>
{{ end }}
|
