async function playAudio() { var audio = new Audio('http://webrtc.callincloud.com/voicefiles3/20190118/20190118_142318_0882270631_6058_1.wav'); audio.type = 'audio/wav'; try { await audio.play(); console.log('Playing...'); } catch (err) { console.log('Failed to play...' + err); } } Play Audio