feat: loop videos
This commit is contained in:
parent
5078b3ec07
commit
8c623afd31
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
||||||
<%= unless Enum.empty?(media.videos) do %>
|
<%= unless Enum.empty?(media.videos) do %>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<%= for video <- media.videos do %>
|
<%= for video <- media.videos do %>
|
||||||
<video controls>
|
<video controls loop>
|
||||||
<source src="<%= URI.encode(video) %>" type="video/mp4">
|
<source src="<%= URI.encode(video) %>" type="video/mp4">
|
||||||
</video>
|
</video>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Reference in a new issue