updating for html5 video