var myMusic = document.getElementById("music");
function play() {
myMusic.play();
}
play()
I tried like this but i can't find how can i control it
If the audio is playing don't go the play function
Is anybody knows it?
Thank you...
var myMusic = document.getElementById("music");
function play() {
myMusic.play();
}
play()
I tried like this but i can't find how can i control it
If the audio is playing don't go the play function
Is anybody knows it?
Thank you...