public function iFrame($maxwidth = '100%', $height = '56%')
    {
        $url = $this->getIFrameURL();
        if (!$url) {
            return false;
        }
        if (is_numeric($maxwidth)) {
            $maxwidth .= 'px';
        }
        if (is_numeric($height)) {
            $height .= 'px';
        }
        return $this->customise([
            'URL'      => $url,
            'MaxWidth' => $maxwidth,
            'Height'   => $height,
        ])->renderWith('Axllent\\FormFields\\Layout\\VideoIframe');
    }
public function iFrame($maxwidth = '100%', $height = '56%')
    {
        $url = $this->getIFrameURL();
        if (!$url) {
            return false;
        }
        if (is_numeric($maxwidth)) {
            $maxwidth .= 'px';
        }
        if (is_numeric($height)) {
            $height .= 'px';
        }
        return $this->customise([
            'URL'      => $url,
            'MaxWidth' => $maxwidth,
            'Height'   => $height,
        ])->renderWith('Axllent\\FormFields\\Layout\\VideoIframe');
    }
public function iFrame ( $ maxwidth = '100%' , $ height = '56%' ) { $ url = $ this -> getIFrameURL ( ) ; if ( ! $ url ) { return false ; } if ( is_numeric ( $ maxwidth ) ) { $ maxwidth .= 'px' ; } if ( is_numeric ( $ height ) ) { $ height .= 'px' ; } return $ this -> customise ( [ 'URL' => $ url , 'MaxWidth' => $ maxwidth , 'Height' => $ height , ] ) -> renderWith ( 'Axllent\\FormFields\\Layout\\VideoIframe' ) ; }
Return populated iframe template

@param  Varchar max width
@param  Varchar height in proportion
@return String
Return populated iframe template