- commit
- 335c76fa0646f683b0d01fe5bfc9b45394d58d34
- parent
- fd33e24613376ce799d00d33a26063a2facb3084
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2025-07-26 13:51
assume 16:9 for video
Diffstat
M | templates/video.html | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/video.html b/templates/video.html
@@ -4,7 +4,7 @@ 4 4 5 5 {% block content %} 6 6 <div class="relative">7 -1 <video controls poster="{{ video.thumbnail.large }}" preload="none" width="960" height="720">-1 7 <video controls poster="{{ video.thumbnail.large }}" preload="none" width="1280" height="720"> 8 8 {% for file in video._embedded.files %} 9 9 <source type="{{ file.mime_type }}" src="/video/{{ video.id }}-{{ file.quality }}.{{ file.format }}" {% if file.quality != 'adaptive' %}media="(min-height: {{ file.quality }}x)" data-quality="{{ file.quality }}" data-co2="{{ file.size.formatted }} (~{{ file.size.bytes|co2 }})"{% endif %}> 10 10 {% endfor %}