mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 23:11:12 +00:00
Preview .webm as video instead of audio (#31553).
Patch by Seiei Miyagi. git-svn-id: http://svn.redmine.org/redmine/trunk@18261 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7d8949e975
commit
ce992035e9
@ -47,6 +47,7 @@ module Redmine
|
||||
'application/javascript' => 'js',
|
||||
'application/pdf' => 'pdf',
|
||||
'video/mp4' => 'mp4',
|
||||
'video/webm' => 'webm',
|
||||
}.freeze
|
||||
|
||||
EXTENSIONS = MIME_TYPES.inject({}) do |map, (type, exts)|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user