refactor video view.