I can not understand why the video is not embedded on the site. Here is the code:
<div id="video-wrap-footer"> </div> var windowRes = document.documentElement.clientWidth; function videoAdd() { if (windowRes > 1023) { document.getElementById('video-wrap-footer').innerHTML = '<video autoplay id="bgvid_footer" poster="img/water-on-glass.jpg"><source src="videos/medoff-video.webm" type="video/webm"><source src="videos/medoff-video.mp4" type="video/mp4"></video>'; } } video#bgvid, video#bgvid_footer { position: fixed; top: 50%; margin-left: -1px; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -100; -ms-transform: translateX(-50%) translateY(-50%); -moz-transform: translateX(-50%) translateY(-50%); -webkit-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); background-size: cover; }
I see it in the code, through the web inspector, but in the browser there is no