src/Object/MediaObject.php
public function image() {
		if (empty($this->_stub['image-src'])) {
			return '';
		}
		$thumb = $this->_stub['image-src'];

		$count = count($this->_match);
		for ($i = 1; $i <= $count; $i++) {
			$thumb = str_ireplace('$' . $i, $this->_match[$i - 1], $thumb);
		}

		return $thumb;
	}
public function image() {
		if (empty($this->_stub['image-src'])) {
			return '';
		}
		$thumb = $this->_stub['image-src'];

		$count = count($this->_match);
		for ($i = 1; $i <= $count; $i++) {
			$thumb = str_ireplace('$' . $i, $this->_match[$i - 1], $thumb);
		}

		return $thumb;
	}
public function image ( ) { if ( empty ( $ this -> _stub [ 'image-src' ] ) ) { return '' ; } $ thumb = $ this -> _stub [ 'image-src' ] ; $ count = count ( $ this -> _match ) ; for ( $ i = 1 ; $ i <= $ count ; $ i ++ ) { $ thumb = str_ireplace ( '$' . $ i , $ this -> _match [ $ i - 1 ] , $ thumb ) ; } return $ thumb ; }
Return a thumbnail for the embeded video

@return string - the thumbnail href
Return a thumbnail for the embeded video