summaryrefslogtreecommitdiff
path: root/ext/js/media
diff options
context:
space:
mode:
authorctpk <125669604+ctpk@users.noreply.github.com>2023-02-17 14:06:48 -0500
committerctpk <125669604+ctpk@users.noreply.github.com>2023-02-17 14:06:48 -0500
commit6c59edd1e74c15865570f6675be5ec64af130a25 (patch)
tree2f9fcc0bf52ac6390a07ca1660c69da9c3aab103 /ext/js/media
parenta528c72107fa44c560d21c2ef0bb5589f1e82816 (diff)
Set file extension for aac audio media type
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';