diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-03-19 17:45:20 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-03-19 17:45:20 +0100 |
commit | 9abe6b7f87c312154f5c300ebfe3c6c36602ebff (patch) | |
tree | 79ab4f18e9aa54a120a0825b5fed07f722015266 /lib | |
parent | 6252c248c23661beef6484cf1ffa24db406e28ae (diff) | |
download | nextcloud-server-9abe6b7f87c312154f5c300ebfe3c6c36602ebff.tar.gz nextcloud-server-9abe6b7f87c312154f5c300ebfe3c6c36602ebff.zip |
Add mimetype for MKV videos
This will make oC create previews for MKVs.
Test file: http://www.auby.no/files/video_tests/h264_720p_hp_5.1_3mbps_vorbis_styled_and_unstyled_subs_suzumiya.mkv
To test this just apply this change and upload the test file, if an preview is generated this change is most likely working as expecting.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/mimetypes.list.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/mimetypes.list.php b/lib/private/mimetypes.list.php index a216414c9dd..91bcf584267 100644 --- a/lib/private/mimetypes.list.php +++ b/lib/private/mimetypes.list.php @@ -77,6 +77,7 @@ return array( 'md' => 'text/markdown', 'mdb' => 'application/msaccess', 'mdwn' => 'text/markdown', + 'mkv' => 'video/x-matroska', 'mobi' => 'application/x-mobipocket-ebook', 'mov' => 'video/quicktime', 'mp3' => 'audio/mpeg', |