mute video javascript

JavaScript
var vid = document.getElementById("myVideo");
vid.muted = true;
Source

Also in JavaScript: