dropin

alternative frontend for dropout.tv
git clone https://git.ce9e.org/dropin.git

commit
fd6bccb3c3baf1abef9ff7de562aa098380ea912
parent
d30115849d852fa55e18df505645e1d84361ff21
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-02-10 13:15
workaround: rm crossorigin from <video>

fixes video playback in safari
breaks subtitles in chrome and firefox

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="{{ thumbnail.large }}" preload="none" crossorigin="anonymous" width="960" height="720">
   -1     7         <video controls poster="{{ thumbnail.large }}" preload="none" width="960" height="720">
    8     8             {% for file in _embedded.files %}
    9     9                 <source type="{{ file.mime_type }}" src="/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 %}