mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +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:
parent
695f0b09b2
commit
f9a58fafba
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,7 @@ final class PhabricatorFilesConfigOptions
|
||||||
'video/mp4' => 'video/mp4',
|
'video/mp4' => 'video/mp4',
|
||||||
'video/ogg' => 'video/ogg',
|
'video/ogg' => 'video/ogg',
|
||||||
'video/webm' => 'video/webm',
|
'video/webm' => 'video/webm',
|
||||||
|
'video/quicktime' => 'video/quicktime',
|
||||||
);
|
);
|
||||||
|
|
||||||
$image_default = array(
|
$image_default = array(
|
||||||
|
@ -71,6 +72,7 @@ final class PhabricatorFilesConfigOptions
|
||||||
// to set the mood for your task without distracting viewers.)
|
// to set the mood for your task without distracting viewers.)
|
||||||
'video/mp4' => true,
|
'video/mp4' => true,
|
||||||
'video/ogg' => true,
|
'video/ogg' => true,
|
||||||
|
'video/quicktime' => true,
|
||||||
'application/ogg' => true,
|
'application/ogg' => true,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -78,6 +80,7 @@ final class PhabricatorFilesConfigOptions
|
||||||
'video/mp4' => true,
|
'video/mp4' => true,
|
||||||
'video/ogg' => true,
|
'video/ogg' => true,
|
||||||
'video/webm' => true,
|
'video/webm' => true,
|
||||||
|
'video/quicktime' => true,
|
||||||
'application/ogg' => true,
|
'application/ogg' => true,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue