diff --git a/app/views/posts/partials/show/_video.html.erb b/app/views/posts/partials/show/_video.html.erb index be30d03ca..76e4b1a8d 100644 --- a/app/views/posts/partials/show/_video.html.erb +++ b/app/views/posts/partials/show/_video.html.erb @@ -1,12 +1,12 @@ <% if post.is_ugoira? %> - <%= content_tag(:video, nil, :id => "image", :width => post.image_width, :height => post.image_height, :autoplay => true, :loop => !post.has_tag?("video_with_sound"), :controls => "controls", :src => post.tagged_large_file_url) %> + <%= content_tag(:video, nil, :id => "image", :width => post.image_width, :height => post.image_height, :autoplay => true, :controls => "controls", :src => post.tagged_large_file_url) %>

<%= link_to "Save this video (right click and save)", post.tagged_large_file_url %>

<% else %> - <%= content_tag(:video, nil, :id => "image", :width => post.image_width, :height => post.image_height, :autoplay => true, :loop => !post.has_tag?("video_with_sound"), :controls => "controls", :src => post.tagged_file_url) %> + <%= content_tag(:video, nil, :id => "image", :width => post.image_width, :height => post.image_height, :autoplay => true, :controls => "controls", :src => post.tagged_file_url) %>

<%= link_to "Save this video (right click and save)", post.tagged_file_url %>

-<% end %> \ No newline at end of file +<% end %>