diff --git a/src/applications/files/config/PhabricatorFilesConfigOptions.php b/src/applications/files/config/PhabricatorFilesConfigOptions.php --- a/src/applications/files/config/PhabricatorFilesConfigOptions.php +++ b/src/applications/files/config/PhabricatorFilesConfigOptions.php @@ -29,6 +29,10 @@ 'audio/x-wav' => 'audio/x-wav', 'application/ogg' => 'application/ogg', 'audio/mpeg' => 'audio/mpeg', + 'video/mp4' => 'video/mp4', + 'video/ogg' => 'video/ogg', + 'video/webm' => 'video/webm', + ); $image_default = array( @@ -47,6 +51,12 @@ 'audio/mpeg' => true, ); + $video_default = array( + 'video/mp4' => true, + 'video/ogg' => true, + 'video/webm' => true, + ); + // largely lifted from http://en.wikipedia.org/wiki/Internet_media_type $icon_default = array( // audio file icon @@ -107,6 +117,12 @@ pht( 'List of MIME types which can be used to render an '. '`