+ 3
How to control the audio sound in JavaScript?
suppose i have a button if i click the button the sound of the audio gradually increase please explain it too on your answer with better example's.
3 Answers
+ 6
var audio=new Audio("song.src");
vol=0;
audio.volume=vol;
button.onclick=vol++;
+ 3
yes
+ 1
is Volume is the keyword in JavaScript