snippet
Play sound on Javascript from mp3 file
const sound = new Audio('/sound.mp3');
sound.play(); // Play your sound
Related snippets |
---|
const sound = new Audio('/sound.mp3');
sound.play(); // Play your sound
Related snippets |
---|