1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +01:00

Add "video/quicktime" as a default Video MIME type

Summary: Ref T11142. H264 video in a Quicktime container works in Safari and Firefox for me (although not Chrome), so include it in the default video mime types.

Test Plan: Uploaded video file from T11142 locally, saw it render with `<video />` properly in Safari.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11142

Differential Revision: https://secure.phabricator.com/D16121
This commit is contained in:
epriestley 2016-06-14 13:50:21 -07:00
parent 695f0b09b2
commit f9a58fafba

View file

@ -44,6 +44,7 @@ final class PhabricatorFilesConfigOptions
'video/mp4' => 'video/mp4',
'video/ogg' => 'video/ogg',
'video/webm' => 'video/webm',
'video/quicktime' => 'video/quicktime',
);
$image_default = array(
@ -71,6 +72,7 @@ final class PhabricatorFilesConfigOptions
// to set the mood for your task without distracting viewers.)
'video/mp4' => true,
'video/ogg' => true,
'video/quicktime' => true,
'application/ogg' => true,
);
@ -78,6 +80,7 @@ final class PhabricatorFilesConfigOptions
'video/mp4' => true,
'video/ogg' => true,
'video/webm' => true,
'video/quicktime' => true,
'application/ogg' => true,
);