Looping was disabled on video_with_sound posts as per https://danbooru.donmai.us/forum_topics/12036#forum_post_107823. But the fact that video_with_sound posts didn't loop proved to be confusing to users and undesirable in many cases.
13 lines
597 B
Plaintext
13 lines
597 B
Plaintext
<% if post.is_ugoira? %>
|
|
|
|
<%= content_tag(:video, nil, :id => "image", :width => post.image_width, :height => post.image_height, :autoplay => true, :controls => "controls", :src => post.tagged_large_file_url) %>
|
|
|
|
<p><%= link_to "Save this video (right click and save)", post.tagged_large_file_url %></p>
|
|
|
|
<% else %>
|
|
<%= content_tag(:video, nil, :id => "image", :width => post.image_width, :height => post.image_height, :autoplay => true, :controls => "controls", :src => post.tagged_file_url) %>
|
|
|
|
<p><%= link_to "Save this video (right click and save)", post.tagged_file_url %></p>
|
|
|
|
<% end %>
|