pause() {
    return this.isPlaying().then(
      function pauseVideoIfNotPaused(isPlaying) {

        // If the player is currently playing, then ask it to pause
        return isPlaying ? this._transport.send('pause') : null;
      }.bind(this)
    );
  }
/**
   * Requests that the player changes to the paused state. Resolves to null.
   *
   * @returns {Promise.<null>}
   */
Requests that the player changes to the paused state. Resolves to null.
@returns {Promise.}
Requests that the player changes to the paused state . Resolves to null . @returns { Promise . }
pause() {
    return this.isPlaying().then(
      function pauseVideoIfNotPaused(isPlaying) {
        return isPlaying ? this._transport.send('pause') : null;
      }.bind(this)
    );
  }
pause ( ) { return this . isPlaying ( ) . then ( function pauseVideoIfNotPaused ( isPlaying ) { return isPlaying ? this . _transport . send ( 'pause' ) : null ; } . bind ( this ) ) ; }
Requests that the player changes to the paused state.
Requests that the player changes to the paused state .
// If the player is currently playing, then ask it to pause