initialize() {
    if (typeof bc === 'function') {
      this._onBrightcoveAPIReady(this._properties.videoID);
    } else {
      let script = document.createElement('script'),
        firstScript = document.getElementsByTagName('script')[0];

      script.src = `//players.brightcove.net/${
        Properties.microzineMetadata.brightcoveAccount
      }/${Properties.microzineMetadata.brightcovePlayerID}_default/index.js`;
      script.onload = () =>
        this._onBrightcoveAPIReady(this._properties.videoID);
      firstScript.parentNode.insertBefore(script, firstScript);
    }
  }
/**
   * Downloads the Brightcove script (if needed) and initializes the video API
   *
   * @returns {void}
   */
Downloads the Brightcove script (if needed) and initializes the video API
@returns {void}
Downloads the Brightcove script ( if needed ) and initializes the video API @returns { void }
initialize() {
    if (typeof bc === 'function') {
      this._onBrightcoveAPIReady(this._properties.videoID);
    } else {
      let script = document.createElement('script'),
        firstScript = document.getElementsByTagName('script')[0];
      script.src = `//players.brightcove.net/${
        Properties.microzineMetadata.brightcoveAccount
      }/${Properties.microzineMetadata.brightcovePlayerID}_default/index.js`;
      script.onload = () =>
        this._onBrightcoveAPIReady(this._properties.videoID);
      firstScript.parentNode.insertBefore(script, firstScript);
    }
  }
initialize ( ) { if ( typeof bc === 'function' ) { this . _onBrightcoveAPIReady ( this . _properties . videoID ) ; } else { let script = document . createElement ( 'script' ) , firstScript = document . getElementsByTagName ( 'script' ) [ 0 ] ; script . src = ` ${ Properties . microzineMetadata . brightcoveAccount } ${ Properties . microzineMetadata . brightcovePlayerID } ` ; script . onload = ( ) => this . _onBrightcoveAPIReady ( this . _properties . videoID ) ; firstScript . parentNode . insertBefore ( script , firstScript ) ; } }
Downloads the Brightcove script (if needed) and initializes the video API
 @returns {void}
Downloads the Brightcove script ( if needed ) and initializes the video API @returns { void }