Render previews for audio and video files
This patch which we recently introduced at Planio uses the HTML 5
video tags to render recognized audio and video files on the attachment preview page. As fallback content (for browsers not supporting these tags yet, the previously shown 'no preview available' view is rendered.
Updated by Go MAEDA over 6 years ago
- File 27336-max-width-100percent.jpg 27336-max-width-100percent.jpg added
- File 27336-max-width-560px.jpg 27336-max-width-560px.jpg added
I think it would be even better to limit the width of videos because users cannot access video controls under the video without scrolling the browser's window if the dimensions of the video is large.
Before (max-width: 100%):
After (max-width: 560px):