feat: loop videos

This commit is contained in:
Daniel Kempkens 2023-05-18 16:38:26 +02:00
parent 5078b3ec07
commit 8c623afd31
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -47,7 +47,7 @@
<%= unless Enum.empty?(media.videos) do %>
<div class="row">
<%= for video <- media.videos do %>
<video controls>
<video controls loop>
<source src="<%= URI.encode(video) %>" type="video/mp4">
</video>
<% end %>