Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Make sure video tags with multiple sources works with asset fingerprints. #3050
When using a video_tag with multiple sources in production the files are not found if using the asset unique fingerprints. When source is not an array video_tag has the expected result.
Also, I want to add type attribute to each source. The final markup should be
<source src="/assets/video-afafsafa876fa8f76af6af7a6faaf8f6f.mp4" type="video/mp4" />
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
video_tag, image_tag and audio_tag are there for backwards compatibility. You should use asset_tag, add stuff in app/assets but also a 250Mb video is not going to be cached so I don't see why do you need it with a digest in the file name. Just put it in public?