Patch #27336
closed
Render previews for audio and video files
Added by Jens Krämer about 7 years ago.
Updated about 6 years ago.
Description
This patch which we recently introduced at Planio uses the HTML 5 audio
and 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.
Files
- Target version set to Candidate for next minor release
- Related to Feature #22483: Show PDF attachments and repo entries instead of downloading them added
- Target version changed from Candidate for next minor release to 4.1.0
It is really nice improvement. Setting target version to 4.1.0.
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):
- Related to Patch #22112: add html5 audio controls if attachment is mp3 added
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Target version changed from 4.1.0 to 4.0.0
Committed. Thank you for sharing your work.
Hello. Could you adapt your patch for redmine 3.3.8?
- Related to Defect #32153: Repository browser does not render previews for audio/video files added
Also available in: Atom
PDF