neddit

the frontend of the frontpage of the internet  https://neddit.ce9e.org
git clone https://git.ce9e.org/neddit.git

commit
2a64e12a9536dabb1fdef9626ecf781296161768
parent
07e88a602767aabab6f96ce776c9a9c12d712be0
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2026-10-02 18:31
add mime type to hls/dash

Diffstat

M templates/_post.html 4 ++--

1 files changed, 2 insertions, 2 deletions


diff --git a/templates/_post.html b/templates/_post.html

@@ -12,8 +12,8 @@
   12    12 	{% endif %}
   13    13 	{% if post.data.post_hint == 'hosted:video' %}
   14    14 		<video class="poster" controls muted loop preload="none" poster="{{ post.data.thumbnail }}">
   15    -1 			<source src="{{ post.data.media.reddit_video.dash_url }}">
   16    -1 			<source src="{{ post.data.media.reddit_video.hls_url }}">
   -1    15 			<source src="{{ post.data.media.reddit_video.dash_url }}" type="audio/mpegurl">
   -1    16 			<source src="{{ post.data.media.reddit_video.hls_url }}" type="application/dash+xml">
   17    17 			<source src="{{ post.data.media.reddit_video.fallback_url|dash_resize }}" type="video/mp4">
   18    18 			<source src="{{ post.data.media.reddit_video.fallback_url }}" type="video/mp4">
   19    19 			<source src="{{ post.data.media.reddit_video.scrubber_media_url }}" type="video/mp4">