M4A file support
This commit is contained in:
1 parent
5f8a2c83e9
commit
c20d63c8a6
2 files changed
+3
No files matched your search
@@ -67,6 +67,8 @@ export function getSupportedAudioExtension(codec: string): string {
|
||||
return 'webm';
|
||||
case 'audio/mp4':
|
||||
return 'm4a';
|
||||
case 'audio/x-m4a':
|
||||
return 'm4a';
|
||||
case 'audio/mpeg':
|
||||
return 'mp3';
|
||||
case 'audio/wav':
|
||||
|
||||
@@ -11,6 +11,7 @@ export const VIDEO_MIME_TYPES = ['video/mp4', 'video/webm', 'video/ogg', 'video/
|
||||
|
||||
export const AUDIO_MIME_TYPES = [
|
||||
'audio/mp4',
|
||||
'audio/x-m4a',
|
||||
'audio/webm',
|
||||
'audio/aac',
|
||||
'audio/mpeg',
|
||||
|
||||
Reference in new issue
Block a user