mirror of
https://github.com/WilliamsNY/contain-element.git
synced 2024-11-23 06:14:09 -05:00
Make the video muted
This commit is contained in:
parent
72405347c6
commit
e46327f3b7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue