render ugoira webm if user prefers large files
This commit is contained in:
3
app/views/posts/partials/show/_ugoira_webm.html.erb
Normal file
3
app/views/posts/partials/show/_ugoira_webm.html.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<%= content_tag(:video, nil, :id => "image", :width => post.image_width, :height => post.image_height, :autoplay => true, :loop => true, :controls => "controls", :src => post.large_file_url) %>
|
||||
|
||||
<p><%= link_to "Save this video (right click and save)", post.large_file_url %> | <%= link_to "View original", post_path(post, :original => 1) %></p>
|
||||
Reference in New Issue
Block a user