Patch #27336

Render previews for audio and video files

Added by Jens Krämer 24 days ago. Updated 4 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Attachments
Target version:4.1.0

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.

0001-adds-previews-for-audio-video-attachments.patch Magnifier (5.52 KB) Jens Krämer, 2017-10-31 10:57

27336-max-width-100percent.jpg (45.4 KB) Go MAEDA, 2017-11-20 13:49

27336-max-width-560px.jpg (34.4 KB) Go MAEDA, 2017-11-20 13:49


Related issues

Related to Redmine - Feature #22483: Show PDF attachments and repo entries instead of download... Needs feedback
Related to Redmine - Feature #10138: Video Player New
Related to Redmine - Patch #22112: add html5 audio controls if attachment is mp3 New

History

#1 Updated by Jan from Planio www.plan.io 24 days ago

  • Target version set to Candidate for next minor release

#2 Updated by Jan from Planio www.plan.io 9 days ago

  • Related to Feature #22483: Show PDF attachments and repo entries instead of downloading them added

#3 Updated by Go MAEDA 4 days ago

  • 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.

#4 Updated by Go MAEDA 4 days ago

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):

#5 Updated by Go MAEDA 4 days ago

#6 Updated by Go MAEDA 4 days ago

  • Related to Patch #22112: add html5 audio controls if attachment is mp3 added

Also available in: Atom PDF