public function jsAPI($useJSAPI = true)
    {
        if ($useJSAPI) {
            $this->jsapi = true;
        } else {
            $this->jsapi = false;
        }

        return $this;
    }
public function jsAPI($useJSAPI = true)
    {
        if ($useJSAPI) {
            $this->jsapi = true;
        } else {
            $this->jsapi = false;
        }

        return $this;
    }
public function jsAPI ( $ useJSAPI = true ) { if ( $ useJSAPI ) { $ this -> jsapi = true ; } else { $ this -> jsapi = false ; } return $ this ; }
Set JSApi
Choose whether or not to allow access via the YouTube JavaScript API.

@param bool $useJSAPI

@return $this
Set JSApi Choose whether or not to allow access via the YouTube JavaScript API .