+ 7
How to play audio automatically in background?
I want my audio automatically play in my web page background. How to do it. Audio is played on touching the screen.
3 Réponses
+ 2
You can't play audio automatically since it annoys the user ,so you need some action to play the audio now , or you can use web audio api to fetch the whole audio stream and play it and yes it plays automatically atleast for me
+ 1
window.onclick = function () {
var audio = document.get ......
audio.play();
};