[RUBY] How to insert a video in Rails
How to insert a video in rails
<%= video_tag "earth.mov", class: "landing_video", loop: true, autoplay: true, muted: true %>
For earth.mov </ font>, please apply your favorite video here.
Basically, the format does not matter whether it is mp4 or mov, but when considering the UI, if the capacity is too large, it will be inconvenient to use, so be careful about that!
That's all from the scene!