public function uploadVideo($source, $publicId = null, $uploadOptions = array(), $tags = array()) { $options = array_merge($uploadOptions, ['resource_type' => 'video']); return $this->upload($source, $publicId, $options, $tags); }