js how to get mute attribute in video code example Example: mute video javascript var vid = document.getElementById("myVideo"); vid.muted = true;