+ 8
Audio Pause
How to make an audio pause onclick of another element?
5 Respostas
+ 6
https://code.sololearn.com/W0C4YfZnye2x/?ref=app
Changed it a bit
+ 6
Yeah i think so since it is javascript used to control canvas so yes
+ 6
You can identify it first. For example:
var getaud=document.getElementById("audio")
function start(){
getaud.play();
//or:
getaud.pause()
+ 4
Thanks guys but the audio wasn't put in the HTML, it was put in the JS
https://code.sololearn.com/WCY9dwN1c3r6/?ref=app
+ 3