Fix bug in setting video type class on body