Project

General

Profile

Actions

Defect #32153

closed

Repository browser does not render previews for audio/video files

Added by Go MAEDA over 4 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
SCM
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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.


Files

no-preview-available@2x.png (40.2 KB) no-preview-available@2x.png Go MAEDA, 2019-09-26 17:24
32153-workaround.patch (2.34 KB) 32153-workaround.patch Go MAEDA, 2019-09-26 17:26
0002-Add-test.patch (166 KB) 0002-Add-test.patch Mizuki ISHIKAWA, 2019-12-23 09:29
clipboard-202308241102-0zsg9.png (66.3 KB) clipboard-202308241102-0zsg9.png crystal su, 2023-08-24 05:02
clipboard-202308241105-s6lip.png (30.1 KB) clipboard-202308241105-s6lip.png crystal su, 2023-08-24 05:05
clipboard-202308241106-t8muo.png (13.5 KB) clipboard-202308241106-t8muo.png crystal su, 2023-08-24 05:06

Related issues

Related to Redmine - Patch #27336: Render previews for audio and video filesClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA over 4 years ago

  • Related to Patch #27336: Render previews for audio and video files added
Actions #2

Updated by Go MAEDA over 4 years ago

Attaching a quick-and-dirty workaround.

Actions #3

Updated by Anonymous over 4 years ago

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

Actions #4

Updated by Anonymous over 4 years ago

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

Actions #5

Updated by Go MAEDA over 4 years ago

  • Target version set to Candidate for next major release
Actions #6

Updated by Mizuki ISHIKAWA about 4 years ago

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
Actions #7

Updated by Go MAEDA about 4 years ago

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

Actions #8

Updated by Go MAEDA about 4 years ago

  • Status changed from New to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you for your contribution.

Actions #9

Updated by Go MAEDA about 4 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 4.1.1 to 4.2.0
Actions #10

Updated by crystal su 7 months ago

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)

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

Actions #11

Updated by Go MAEDA 7 months ago

Please don't add comments to closed and released issue.

Actions

Also available in: Atom PDF