public function getPreview()
    {
        $url = trim($this->value);
        if (!$this->display_video || !$url) {
            return false;
        }
        $obj = VideoLink::create()->setValue($url);
        if ($obj->iFrameURL) {
            return $obj->Iframe($this->display_video, $this->preview_height);
        }
    }
public function getPreview()
    {
        $url = trim($this->value);
        if (!$this->display_video || !$url) {
            return false;
        }
        $obj = VideoLink::create()->setValue($url);
        if ($obj->iFrameURL) {
            return $obj->Iframe($this->display_video, $this->preview_height);
        }
    }
public function getPreview ( ) { $ url = trim ( $ this -> value ) ; if ( ! $ this -> display_video || ! $ url ) { return false ; } $ obj = VideoLink :: create ( ) -> setValue ( $ url ) ; if ( $ obj -> iFrameURL ) { return $ obj -> Iframe ( $ this -> display_video , $ this -> preview_height ) ; } }
Return video preview

@param  Null
@return VideoLink
Return video preview