public function getThumbnailUrl(Tube $video)
    {
        if (0 === strlen($this->thumbnailSize)) {
            return false;
        }

        return sprintf('http://img.youtube.com/vi/%s/%s.jpg', $video->id, $this->thumbnailSize);
    }
public function getThumbnailUrl(Tube $video)
    {
        if (0 === strlen($this->thumbnailSize)) {
            return false;
        }

        return sprintf('http://img.youtube.com/vi/%s/%s.jpg', $video->id, $this->thumbnailSize);
    }
public function getThumbnailUrl ( Tube $ video ) { if ( 0 === strlen ( $ this -> thumbnailSize ) ) { return false ; } return sprintf ( 'http://img.youtube.com/vi/%s/%s.jpg' , $ video -> id , $ this -> thumbnailSize ) ; }
Get the thumbnail from a given URL.

@param Tube $video Tube object

@return string Thumbnail url
Get the thumbnail from a given URL .