This function will also resize dynamically with the browser window.
Src : http://stackoverflow.com/questions/4380105/html5-video-scale-modes