remove default loop setting for videos

This commit is contained in:
edshot99 2024-10-28 14:02:22 -05:00
parent da686af033
commit aaf40d6d55

View File

@ -1,4 +1,4 @@
<%= tag.video(id: "image", class: post.display_class_for(CurrentUser.user), loop: "true", controls: "controls", poster: post.large_file_url) do %>
<%= tag.video(id: "image", class: post.display_class_for(CurrentUser.user), controls: "controls", poster: post.large_file_url) do %>
<%= tag.source(src: post.file_url_ext_for(CurrentUser.user, "webm"), type: "video/webm") %>
<%= tag.source(src: post.file_url_ext_for(CurrentUser.user, "mp4"), type: "video/mp4") %>
<% end %>