fix: video loop on ios

This commit is contained in:
Ayo Ayco 2024-04-24 16:25:37 +02:00
parent 6bc21e3c35
commit 8bc39e648d

View file

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