Categories
In the audio tag in html - can I set the initial volume?
Answer the question
In order to leave comments, you need to log in
found on a toaster
<video id="myaudio" controls="" loop="" autoplay="" name="media" preload="auto" hidden> <source src="music.mp3" type="audio/mp3"> </video> <script> var audio = document.getElementById("myaudio"); audio.volume = 0.2; </script>
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question