how to get javascript to play sounds code example Example: html play audio programmatically document.getElementById('yourAudioTag').play();