Notes need to be disabled because they don't work on webms, the positions are bugged. Also enable video controls by default because why not.
4 lines
267 B
Plaintext
4 lines
267 B
Plaintext
<%= content_tag(:video, nil, :id => "image", :width => post.image_width, :height => post.image_height, :autoplay => true, :loop => true, :controls => "controls", :src => post.file_url) %>
|
|
|
|
<p><%= link_to "Save this video (right click and save)", post.file_url %></p>
|