There is an autoplay sound on the site

<audio controls src="bgsound.mp3" autoplay="autoplay"></audio> 

How to reduce the volume of sound without user intervention. The sound is very loud, so you have to turn it down by default.

    1 answer 1

    Use the volume property of the audio element.

     var audio=document.querySelector("audio"); audio.volume=0.5; 
    • Thank! Everything is working! - BedOmar