    if (newApiState == this.__state ||
            this.__state == this.__apiStates.UNSTARTED) {
          return;
        }

        this.currentTime = this.__currentTime;
        var player = this.$.player;

        switch (newApiState) {
          case this.__apiStates.PLAYING:
            player.play();
            break;
          case this.__apiStates.PAUSED:
            player.pause();
            break;
          default:
            return;
        }
      },

      __ytApiStateChange: function(new