<button onclick="getMuted()" type="button">Is the video muted by default?</button> <button onclick="setToMuted()" type="button">Set video to be muted by default, and reload video</button> <br> <video id="video1" controls="controls"> <source src="/statics/demosource/mov_bbb.mp4" type="video/mp4"> <source src="/statics/demosource/mov_bbb.ogg" type="video/ogg"> Your browser does not support HTML5 video. </video> <script> myVid=document.getElementById("video1"); function getMuted() { alert(myVid.defaultMuted); } function setToMuted() { myVid.defaultMuted=true; myVid.load() } </script> <p>Video courtesy of <a href="http://www.bigbuckbunny.org/" target="_blank">Big Buck Bunny</a>.</p>