diff options
author | ctpk <125669604+ctpk@users.noreply.github.com> | 2023-02-17 14:06:48 -0500 |
---|---|---|
committer | ctpk <125669604+ctpk@users.noreply.github.com> | 2023-02-17 14:06:48 -0500 |
commit | 6c59edd1e74c15865570f6675be5ec64af130a25 (patch) | |
tree | 2f9fcc0bf52ac6390a07ca1660c69da9c3aab103 | |
parent | a528c72107fa44c560d21c2ef0bb5589f1e82816 (diff) |
Set file extension for aac audio media type
-rw-r--r-- | ext/js/media/media-util.js | 2 |
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'; |