added support for HTML5 video