added html5 video support check, fix a firefox bug