From 6c59edd1e74c15865570f6675be5ec64af130a25 Mon Sep 17 00:00:00 2001 From: ctpk <125669604+ctpk@users.noreply.github.com> Date: Fri, 17 Feb 2023 14:06:48 -0500 Subject: Set file extension for aac audio media type --- ext/js/media/media-util.js | 2 ++ 1 file changed, 2 insertions(+) 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'; -- cgit v1.2.3