Audio Pause | Sololearn: Learn to code for FREE!


Audio Pause

How to make an audio pause onclick of another element?

7/28/2020 5:50:29 PM

Jadene & Kayla Onobun

5 Answers

New Answer

+6 Changed it a bit


Yeah i think so since it is javascript used to control canvas so yes


You can identify it first. For example: var getaud=document.getElementById("audio") function start(){; //or: getaud.pause()


Thanks guys but the audio wasn't put in the HTML, it was put in the JS