javascript - How to play audio? - Stack Overflow

PHOTO EMBED

Wed Dec 15 2021 21:47:15 GMT+0000 (UTC)

Saved by @Samo_Krose #javascript

var audio = new Audio('audio_file.mp3');
audio.play();
content_copyCOPY

https://stackoverflow.com/questions/9419263/how-to-play-audio