forked from e621ng/e621ng
remove poster from videos
causes annoying resizing for sampled videos and I prefer the videos to preload at the first frame.
This commit is contained in:
parent
c8282cd0e7
commit
4795f1c58d
@ -1,4 +1,4 @@
|
||||
<%= tag.video(id: "image", class: post.display_class_for(CurrentUser.user), controls: "controls", poster: post.large_file_url) do %>
|
||||
<%= tag.video(id: "image", class: post.display_class_for(CurrentUser.user), controls: "controls") 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 %>
|
||||
|
Loading…
Reference in New Issue
Block a user