feat: enable video controls for gif

This commit is contained in:
Ayo Ayco 2024-04-24 16:42:09 +02:00
parent 95f657094b
commit 5f4971f7c5

View file

@ -120,7 +120,7 @@
{% if media.type == 'image'%}
<img src="{{media.url}}" />
{% elif media.type == 'gifv' %}
<video autoplay="autoplay" muted loop>
<video controls autoplay="autoplay" muted loop>
<source src="{{media.url}}" type="video/mp4">
Your browser does not support the video tag.
</video>
@ -147,7 +147,7 @@
{% if media.type == 'image'%}
<img src="{{media.url}}" />
{% elif media.type == 'gifv' %}
<video autoplay="autoplay" muted loop>
<video controls autoplay="autoplay" muted loop>
<source src="{{media.url}}" type="video/mp4">
Your browser does not support the video tag.
</video>