Move video code to Video class.