neddit

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

commit
c2f1e6142c72639f45f24f0b46331bff5d209a0c
parent
bc586bf4b10a3490ea8bf8c95cd485dff8e17137
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-07-25 17:15
avoid double audio in case video does have sound

Diffstat

M templates/_post.html 2 +-

1 files changed, 1 insertions, 1 deletions


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

@@ -11,7 +11,7 @@
   11    11 		<p>{{ post.data.selftext_html|safe }}</p>
   12    12 	{% endif %}
   13    13 	{% if post.data.post_hint == 'hosted:video' %}
   14    -1 		<video class="poster" controls loop preload="none" poster="{{ post.data.thumbnail }}">
   -1    14 		<video class="poster" controls muted loop preload="none" poster="{{ post.data.thumbnail }}">
   15    15 			<source src="{{ post.data.media.reddit_video.hls_url }}">
   16    16 			<source src="{{ post.data.media.reddit_video.dash_url }}">
   17    17 			<source src="{{ post.data.media.reddit_video.fallback_url }}" type="video/mp4">