public function addVideo($source = null, $attributes = []) { $validKeys = ['url', 'secure_url', 'type', 'width', 'height']; $this->videoProperties[] = [$source, $this->cleanProperties($attributes, $validKeys)]; return $this; }