Browse Source

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
tags/4.1.0
Go MAEDA 5 years ago
parent
commit
ce992035e9
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      lib/redmine/mime_type.rb

+ 1
- 0
lib/redmine/mime_type.rb View File

@@ -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…
Cancel
Save