Defect #32153
closed
Repository browser does not render previews for audio/video files
Added by Go MAEDA almost 5 years ago.
Updated 12 months ago.
Description
#27336 added preview for audio/video files to attachments and repositories, however, audio/video preview for repositories is not working. It always shows "No preview available" message for all kind of audio/video files.
![](/attachments/download/23950/no-preview-available@2x.png)
Files
- Related to Patch #27336: Render previews for audio and video files added
Attaching a quick-and-dirty workaround.
Go MAEDA wrote:
Attaching a quick-and-dirty workaround.
Thanks :-)
I'll share more feedback after I test it if I'll find more bugs
Update: this seems to be working with no problems so far, if somebody else could double check it for security sake, it would be a really cool fix to commit ;-)
- Target version set to Candidate for next major release
If you need tests to commit 32153-workaround.patch, add tests based on the attached patch.
- 0002-Add-test.patch is a patch that should be applied after 32153-workaround.patch is applied
- 0002-Add-test.patch adds a .mp4 file to the test subversion_repository.
- rake test:scm:update command must be executed after applying the patch for the test to succeed
- Target version changed from Candidate for next major release to 4.1.1
Mizuki ISHIKAWA wrote:
If you need tests to commit 32153-workaround.patch, add tests based on the attached patch.
Thanks. Setting the target version to 4.1.1.
- Status changed from New to Resolved
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the patch. Thank you for your contribution.
- Status changed from Resolved to Closed
- Target version changed from 4.1.1 to 4.2.0
![](/attachments/download/30869/clipboard-202308241102-0zsg9.png)
This is my redmine environment information. I saw that the official website redmine4.0 began to support online preview videos.
When I was browsing the uploaded video online, the following error message occurred. (Video in mp4 format, h264 encoding)
![](/attachments/download/30870/clipboard-202308241105-s6lip.png)
When I open debugging, the following error message is displayed, is there a problem with my service configuration? Still video encoding format does not support online browsing. Thank you very much for your answer
![](/attachments/download/30871/clipboard-202308241106-t8muo.png)
Please don't add comments to closed and released issue.
Also available in: Atom
PDF