dev
This commit is contained in:
parent
12cbcbf22b
commit
e2905e0422
@ -84,9 +84,11 @@ async function playAudio(audioUrl) {
|
|||||||
console.error('Ошибка при воспроизведении:', error);
|
console.error('Ошибка при воспроизведении:', error);
|
||||||
});
|
});
|
||||||
|
|
||||||
await delay(5000);
|
setTimeout(() => {
|
||||||
audio.pause();
|
audio.pause();
|
||||||
audio.remove();
|
audio.remove()
|
||||||
|
console.log('Воспроизведение остановлено');
|
||||||
|
}, 5000);
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user