diff --git a/app/models/Post/FileMethods.php b/app/models/Post/FileMethods.php index 8f9d269..3e8af30 100755 --- a/app/models/Post/FileMethods.php +++ b/app/models/Post/FileMethods.php @@ -12,6 +12,8 @@ trait PostFileMethods 'image/jpg' => 'jpg', 'image/png' => 'png', 'image/gif' => 'gif', + 'video/webm' => 'webm', + 'video/mp4' => 'mp4', 'application/x-shockwave-flash' => 'swf' ]; @@ -715,4 +717,4 @@ protected function get_source_from_filename() $this->source = $source; } } -} \ No newline at end of file +}