how to get the volume of an audio element js code example
Example: js audio volume
//sets volume to 20%
var vid = document.getElementById("myVideo");
vid.volume = 0.2;
//sets volume to 20%
var vid = document.getElementById("myVideo");
vid.volume = 0.2;