fix playVideo public function