I\'m trying to make a fullscreen HTML background, which is easy enough. But because HTML5 video get\'s resized to fit the container while maintaining aspect ratio, I can\'t
Another way to do this with CSS is to use the object-fit property. This works on video or img elements
video {
object-fit: cover;
}
http://caniuse.com/object-fit
http://dev.opera.com/articles/css3-object-fit-object-position/
This is only compatible in Chrome 31+ but is the simplest CSS solution and is a Candidate Recommendation.