mirror of
https://github.com/redmine/redmine.git
synced 2026-03-04 19:41:25 +01: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:
@@ -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)|
|
||||
|
||||
Reference in New Issue
Block a user