Forum Discussion
MarcoParenti
4 years agoCommunity Member
how to create a sound volume button
Hi,
I want to know how to create a control volume button without using the default player.
Thankyou
MathNotermans-9
4 years agoCommunity Member
This custom audioVolume slider works. Uses this code to set the audio.var allAudios = document.getElementsByTagName("audio");
if (allAudios[0].volume >= 0) {
for (var a = 0; a < allAudios.length; a++) {
allAudios[a].volume = _volume;
}
}