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