2020-06-30 09:42:03 +12:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
'image/jpeg',
|
|
|
|
'image/jpeg',
|
|
|
|
'image/gif',
|
|
|
|
'image/png',
|
|
|
|
'image/webp',
|
|
|
|
|
|
|
|
// Video Files
|
|
|
|
'video/mp4',
|
|
|
|
'video/x-flv',
|
2022-06-03 02:38:33 +12:00
|
|
|
'video/webm',
|
2020-06-30 09:42:03 +12:00
|
|
|
'application/x-mpegURL',
|
|
|
|
'video/MP2T',
|
|
|
|
'video/3gpp',
|
|
|
|
'video/quicktime',
|
|
|
|
'video/x-msvideo',
|
|
|
|
'video/x-ms-wmv',
|
2021-10-17 05:34:02 +13:00
|
|
|
|
|
|
|
// Audio Files
|
|
|
|
|
2021-10-17 22:23:42 +13:00
|
|
|
'audio/basic', // au snd RFC 2046
|
2021-10-17 22:22:19 +13:00
|
|
|
'auido/L24', // Linear PCM RFC 3190
|
2021-10-17 05:34:02 +13:00
|
|
|
'audio/mid', // mid rmi
|
2021-10-17 22:22:19 +13:00
|
|
|
'audio/mpeg', // mp3 RFC 3003
|
|
|
|
'audio/mp4', // mp4 audio
|
|
|
|
'audio/x-aiff', // aif aifc aiff
|
2021-10-17 05:34:02 +13:00
|
|
|
'audio/x-mpegurl', // m3u
|
2021-10-17 22:23:42 +13:00
|
|
|
'audio/vnd.rn-realaudio', // ra ram
|
2021-10-17 22:22:19 +13:00
|
|
|
'audio/ogg', // Ogg Vorbis RFC 5334
|
2021-10-17 05:34:02 +13:00
|
|
|
'audio/vorbis', // Vorbis RFC 5215
|
2021-10-17 22:22:19 +13:00
|
|
|
'audio/vnd.wav', // wav RFC 2361
|
2023-07-25 12:52:27 +12:00
|
|
|
'audio/aac', //AAC audio
|
2023-07-25 13:08:46 +12:00
|
|
|
'audio/x-hx-aac-adts', // AAC audio
|
2022-05-24 02:54:50 +12:00
|
|
|
|
2020-06-30 09:42:03 +12:00
|
|
|
// Microsoft Word
|
|
|
|
'application/msword',
|
|
|
|
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
|
|
'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
|
|
|
|
'application/vnd.ms-word.document.macroEnabled.12',
|
|
|
|
|
|
|
|
// Microsoft Excel
|
|
|
|
'application/vnd.ms-excel',
|
|
|
|
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
|
|
'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
|
|
|
|
'application/vnd.ms-excel.sheet.macroEnabled.12',
|
|
|
|
'application/vnd.ms-excel.template.macroEnabled.12',
|
|
|
|
'application/vnd.ms-excel.addin.macroEnabled.12',
|
|
|
|
'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
|
|
|
|
|
|
|
|
// Microsoft Power Point
|
|
|
|
'application/vnd.ms-powerpoint',
|
|
|
|
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
|
|
'application/vnd.openxmlformats-officedocument.presentationml.template',
|
|
|
|
'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
|
|
|
|
'application/vnd.ms-powerpoint.addin.macroEnabled.12',
|
|
|
|
'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
|
|
|
|
'application/vnd.ms-powerpoint.template.macroEnabled.12',
|
|
|
|
'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
|
|
|
|
|
|
|
|
// Microsoft Access
|
|
|
|
'application/vnd.ms-access',
|
|
|
|
|
|
|
|
// Adobe PDF
|
|
|
|
'application/pdf',
|
2022-05-24 02:54:50 +12:00
|
|
|
];
|