summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-06-19 15:41:00 +0000
committerGo MAEDA <maeda@farend.jp>2019-06-19 15:41:00 +0000
commitce992035e944b22b29a791d3a27ed43bd92580db (patch)
tree3f55028a7a3f58040bf4bcb49aa63a4a2bde4302
parent7d8949e975379e6ce3809ff8dc056cf304038dd9 (diff)
downloadredmine-ce992035e944b22b29a791d3a27ed43bd92580db.tar.gz
redmine-ce992035e944b22b29a791d3a27ed43bd92580db.zip
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
-rw-r--r--lib/redmine/mime_type.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine/mime_type.rb b/lib/redmine/mime_type.rb
index 7f20b6d12..e4801da21 100644
--- a/lib/redmine/mime_type.rb
+++ b/lib/redmine/mime_type.rb
@@ -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)|