Make the video muted

This commit is contained in:
Luke Evers 2015-07-01 12:32:57 -04:00
parent 72405347c6
commit e46327f3b7

View file

@ -58,7 +58,7 @@
</head>
<body>
<script>
var video = '<video id="video" autoplay loop><source src="http://vjs.zencdn.net/v/oceans.webm" type="video/webm"><source src="http://vjs.zencdn.net/v/oceans.mp4" type="video/mp4"></video>';
var video = '<video id="video" autoplay muted loop><source src="http://vjs.zencdn.net/v/oceans.webm" type="video/webm"><source src="http://vjs.zencdn.net/v/oceans.mp4" type="video/mp4"></video>';
var demo1 = function() {
var v = document.getElementById('video');
if (v !== null) v.parentNode.removeChild(v);