Correct mime types via https://wiki.xiph.org/MIME_Types_and_File_Extensions
This commit is contained in:
parent
605381f83d
commit
869735e4b5
@ -64,7 +64,10 @@ function z_mime_content_type($filename) {
|
|||||||
'wav' => 'audio/wav',
|
'wav' => 'audio/wav',
|
||||||
'qt' => 'video/quicktime',
|
'qt' => 'video/quicktime',
|
||||||
'mov' => 'video/quicktime',
|
'mov' => 'video/quicktime',
|
||||||
'ogg' => 'application/ogg',
|
'ogg' => 'audio/ogg',
|
||||||
|
'ogv' => 'video/ogg',
|
||||||
|
'ogx' => 'application/ogg',
|
||||||
|
'flac' => 'audio/flac',
|
||||||
'opus' => 'audio/ogg',
|
'opus' => 'audio/ogg',
|
||||||
'webm' => 'video/webm',
|
'webm' => 'video/webm',
|
||||||
// 'webm' => 'audio/webm',
|
// 'webm' => 'audio/webm',
|
||||||
|
Reference in New Issue
Block a user