diff options
author | Stefan Vuković <stefanvukovic44@gmail.com> | 2024-06-29 15:39:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-29 13:39:47 +0000 |
commit | b98ae212f0190fa0d9ca86aee833b03aa262eb1b (patch) | |
tree | e3bd2aa6865d7e6fc2e83e6fd0b3f6cf72daae09 /ext/js/media/media-util.js | |
parent | 4a0689ae3c769d43e339059927f44361c157cdd0 (diff) |
Add wiktionary commons audio source (#1143)
* add audio source for wiktionary format filenames on commons
* allow region codes
* fix files being saved in anki as mp3
Diffstat (limited to 'ext/js/media/media-util.js')
-rw-r--r-- | ext/js/media/media-util.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/media/media-util.js b/ext/js/media/media-util.js index 3e492e42..821748dd 100644 --- a/ext/js/media/media-util.js +++ b/ext/js/media/media-util.js @@ -113,6 +113,7 @@ export function getFileExtensionFromAudioMediaType(mediaType) { return '.mp4'; case 'audio/ogg': case 'audio/vorbis': + case 'application/ogg': return '.ogg'; case 'audio/vnd.wav': case 'audio/wave': |