play an audio at a specific volume in javascript
var music = new audio({
loop: true,
volume: 1,
src: ['music.mp3']
})
//or
var music = new Audio('music.mp3');
music.loop = true;
music.volume = 0.2;
play an audio at a specific volume in javascript
var music = new audio({
loop: true,
volume: 1,
src: ['music.mp3']
})
//or
var music = new Audio('music.mp3');
music.loop = true;
music.volume = 0.2;
js audio volume
//sets volume to 20%
var vid = document.getElementById("myVideo");
vid.volume = 0.2;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us