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:
edshot99 2024-10-31 17:56:28 -05:00
parent c8282cd0e7
commit 4795f1c58d

View File

@ -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 %>