Returns the HTML representation of the resource.
Only applies to 'rich' and 'video' resources.
string|null The HTML representation of the resource, if it has one.
public function getHtml() { return isset($this->html) ? (string) $this->html : NULL; }