summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/file.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc
index 4a824de..bc6a8c8 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -1194,6 +1194,7 @@ function file_get_mimetype($filename, $mapping = NULL) {
'au|snd' => 'audio/basic',
'mid|midi|kar' => 'audio/midi',
'mpga|mpega|mp2|mp3|m4a' => 'audio/mpeg',
+ 'f4a|f4b' => 'audio/mp4',
'm3u' => 'audio/x-mpegurl',
'oga|spx' => 'audio/ogg',
'sid' => 'audio/prs.sid',
@@ -1332,7 +1333,8 @@ function file_get_mimetype($filename, $mapping = NULL) {
'fli' => 'video/fli',
'gl' => 'video/gl',
'mpeg|mpg|mpe' => 'video/mpeg',
- 'mp4' => 'video/mp4',
+ 'mp4|f4v|f4p' => 'video/mp4',
+ 'flv' => 'video/x-flv',
'ogv' => 'video/ogg',
'qt|mov' => 'video/quicktime',
'mxu' => 'video/vnd.mpegurl',