diff options
author | Go MAEDA <maeda@farend.jp> | 2019-06-19 15:41:00 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-06-19 15:41:00 +0000 |
commit | ce992035e944b22b29a791d3a27ed43bd92580db (patch) | |
tree | 3f55028a7a3f58040bf4bcb49aa63a4a2bde4302 | |
parent | 7d8949e975379e6ce3809ff8dc056cf304038dd9 (diff) | |
download | redmine-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.rb | 1 |
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)| |