/** * Set the video height */ protected function set_height() { switch ($this->retrieve_method) { case 'oembed': parent::set_height(); break; case 'rss': if (preg_match('`<media:player url=.+?<iframe.+?" height="([0-9]+)"`', $this->decoded_response, $match)) { $this->vid['height'] = $match[1]; } break; } }