ruk·si

CSS
Header Video

Updated at 2015-07-25 18:12
<div class="header-video-container">
    <video class="header-video" preload="auto" autoplay="" loop="" width="100%">
        <source src="video.mp4">
        <source src="video.ogv">
    </video>
</div>
.header-video-container {
    position: relative;
    min-width: 1040px;
    height: 400px;
    overflow: hidden;
}
.header-video {
    position: absolute;
    width: 100%;
    left: 0px;
    top: 0px;
    right: 0px;
}