summaryrefslogtreecommitdiff
path: root/ext/js/media
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/media')
-rw-r--r--ext/js/media/media-util.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/js/media/media-util.js b/ext/js/media/media-util.js
index 582b13a2..81ee38fe 100644
--- a/ext/js/media/media-util.js
+++ b/ext/js/media/media-util.js
@@ -107,6 +107,8 @@ class MediaUtil {
*/
static getFileExtensionFromAudioMediaType(mediaType) {
switch (mediaType) {
+ case 'audio/aac':
+ return '.aac';
case 'audio/mpeg':
case 'audio/mp3':
return '.mp3';