fix: video loop on ios
This commit is contained in:
parent
6bc21e3c35
commit
8bc39e648d
1 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@
|
|||
{% if media.type == 'image'%}
|
||||
<img src="{{media.url}}" />
|
||||
{% elif media.type == 'gifv' %}
|
||||
<video autoplay loop>
|
||||
<video controls autoplay="autoplay" muted loop>
|
||||
<source src="{{media.url}}" type="video/mp4">
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
|
@ -144,7 +144,7 @@
|
|||
{% if media.type == 'image'%}
|
||||
<img src="{{media.url}}" />
|
||||
{% elif media.type == 'gifv' %}
|
||||
<video autoplay loop>
|
||||
<video controls autoplay="autoplay" muted loop>
|
||||
<source src="{{media.url}}" type="video/mp4">
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
|
|
Loading…
Reference in a new issue