Basic video player in HTML5 using javascript and css3