mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Added missing file extension to mime type mapping for files used with html5 audio/video tags
This commit is contained in:
parent
49a48ced89
commit
6f09f5dfc8
1 changed files with 6 additions and 0 deletions
|
@ -187,6 +187,8 @@ class CakeResponse {
|
|||
'mp3' => 'audio/mpeg',
|
||||
'mpga' => 'audio/mpeg',
|
||||
'ogg' => 'audio/ogg',
|
||||
'oga' => 'audio/ogg',
|
||||
'spx' => 'audio/ogg',
|
||||
'ra' => 'audio/x-realaudio',
|
||||
'ram' => 'audio/x-pn-realaudio',
|
||||
'rm' => 'audio/x-pn-realaudio',
|
||||
|
@ -194,6 +196,7 @@ class CakeResponse {
|
|||
'snd' => 'audio/basic',
|
||||
'tsi' => 'audio/TSP-audio',
|
||||
'wav' => 'audio/x-wav',
|
||||
'aac' => 'audio/aac',
|
||||
'asc' => 'text/plain',
|
||||
'c' => 'text/plain',
|
||||
'cc' => 'text/plain',
|
||||
|
@ -225,6 +228,9 @@ class CakeResponse {
|
|||
'qt' => 'video/quicktime',
|
||||
'viv' => 'video/vnd.vivo',
|
||||
'vivo' => 'video/vnd.vivo',
|
||||
'ogv' => 'video/ogg',
|
||||
'webm' => 'video/webm',
|
||||
'mp4' => 'video/mp4',
|
||||
'gif' => 'image/gif',
|
||||
'ief' => 'image/ief',
|
||||
'jpe' => 'image/jpeg',
|
||||
|
|
Loading…
Reference in a new issue