<video autoplay="autoplay" loop="loop" poster="images/section_02.jpg" id="bgvid" muted="muted" οncοntextmenu="return false"></video>
<script>
var video = document.getElementById("bgvid");
window.URL = window.URL || window.webkitURL;
var xhr = new XMLHttpRequest();
xhr.open("GET", "images/mp4.mp4", true);
xhr.responseType = "blob";
xhr.onload = function() { if (this.status == 200) { var blob = this.response;
video.onload = function(e) { window.URL.revokeObjectURL(video.src); };
video.src = window.URL.createObjectURL(blob); } }
xhr.send();
</script>