static initialize() {
    let version = window.zz_zbi_sdk_version; // special property set by the SDK that exposes the version

    if (version) {
      Utils.sdkVersion = new SemVer(version);
      Logger.info(`Native SDK version: ${Utils.sdkVersion}`);

      Metrics.addEventListener(
        'eventqueued',
        this._handleMetricsEvent.bind(this)
      );
      Video.addEventListener('videoplaying', this._handleVideoEvent.bind(this));
      Video.addEventListener('videopaused', this._handleVideoEvent.bind(this));
      Video.addEventListener('videoended', this._handleVideoEvent.bind(this));
      Video.addEventListener(
        'videoprogressupdated',
        this._handleVideoEvent.bind(this)
      );
    } else {
      Logger.info('No native SDK found.');
    }

    return this;
  }
/**
   * Initializes the Zbi/SDK interop and finds the SDK version
   *
   * @returns {Zbi} - Zbi
   */
Initializes the Zbi/SDK interop and finds the SDK version
@returns {Zbi} - Zbi
Initializes the Zbi / SDK interop and finds the SDK version @returns { Zbi } - Zbi
static initialize() {
    let version = window.zz_zbi_sdk_version; 
    if (version) {
      Utils.sdkVersion = new SemVer(version);
      Logger.info(`Native SDK version: ${Utils.sdkVersion}`);
      Metrics.addEventListener(
        'eventqueued',
        this._handleMetricsEvent.bind(this)
      );
      Video.addEventListener('videoplaying', this._handleVideoEvent.bind(this));
      Video.addEventListener('videopaused', this._handleVideoEvent.bind(this));
      Video.addEventListener('videoended', this._handleVideoEvent.bind(this));
      Video.addEventListener(
        'videoprogressupdated',
        this._handleVideoEvent.bind(this)
      );
    } else {
      Logger.info('No native SDK found.');
    }
    return this;
  }
static initialize ( ) { let version = window . zz_zbi_sdk_version ; if ( version ) { Utils . sdkVersion = new SemVer ( version ) ; Logger . info ( ` ${ Utils . sdkVersion } ` ) ; Metrics . addEventListener ( 'eventqueued' , this . _handleMetricsEvent . bind ( this ) ) ; Video . addEventListener ( 'videoplaying' , this . _handleVideoEvent . bind ( this ) ) ; Video . addEventListener ( 'videopaused' , this . _handleVideoEvent . bind ( this ) ) ; Video . addEventListener ( 'videoended' , this . _handleVideoEvent . bind ( this ) ) ; Video . addEventListener ( 'videoprogressupdated' , this . _handleVideoEvent . bind ( this ) ) ; } else { Logger . info ( 'No native SDK found.' ) ; } return this ; }
Initializes the Zbi/SDK interop and finds the SDK version
 @returns {Zbi} - Zbi
Initializes the Zbi / SDK interop and finds the SDK version @returns { Zbi } - Zbi
// special property set by the SDK that exposes the version