This commit is contained in:
lchen committed 2024-01-17 17:31:41 +08:00
1 parent 84190ed9f1
commit fb9e920c15
35 files changed
+3003 -1304

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ function getTimeLabel(time) {
}
export function createAudio(mime, url) {
if (mime === 'audio/amr' && typeof AMR !== 'undefined') {
if ((mime === 'audio/amr' || mime === '.amr') && typeof AMR !== 'undefined') {
const timestamp = createElement('span', 'ui-media-timestamp');
timestamp.textContent = '00:00 / 00:00';
let context;