@ -99,7 +99,7 @@
< / svg >
< / a >
{% else if (prefs.layout.is_empty() || prefs.layout == "card") & & post.post_type == "gif" %}
< video class = "post_media_video short" src = "{{ post.media.url }}" width = "{{ post.media.width }}" height = "{{ post.media.height }}" controls loop autoplay > < a href = {{ post . media . url } } > Video< / a > < / video >
< video class = "post_media_video short" src = "{{ post.media.url }}" width = "{{ post.media.width }}" height = "{{ post.media.height }}" poster = "{{ post.media.poster }}" controls loop preload = "none" > < a href = {{ post . media . url } } > Video< / a > < / video >
{% else if (prefs.layout.is_empty() || prefs.layout == "card") & & post.post_type == "video" %}
{% if prefs.use_hls == "on" & & !post.media.alt_url.is_empty() %}
< video class = "post_media_video short" width = "{{ post.media.width }}" height = "{{ post.media.height }}" poster = "{{ post.media.poster }}" controls preload = "none" >
@ -107,7 +107,7 @@
< source src = "{{ post.media.url }}" type = "video/mp4" / >
< / video >
{% else %}
< video class = "post_media_video short" src = "{{ post.media.url }}" width = "{{ post.media.width }}" height = "{{ post.media.height }}" poster = "{{ post.media.poster }}" preload = "none" controls autoplay > < a href = {{ post . media . url } } > Video< / a > < / video >
< video class = "post_media_video short" src = "{{ post.media.url }}" width = "{{ post.media.width }}" height = "{{ post.media.height }}" poster = "{{ post.media.poster }}" preload = "none" controls > < a href = {{ post . media . url } } > Video< / a > < / video >
{% call render_hls_notification(format!("{}%23{}", & self.url[1..].replace("& ", "%26").replace("+", "%2B"), post.id)) %}
{% endif %}
{% else if post.post_type != "self" %}