State, oldState) {
        var readableState;

        switch (newState) {
          case this.__apiStates.ENDED:
            readableState = this.__states.PAUSED;
            break;
          case this.__apiStates.PLAYING:
            readableState = this.__states.PLAYING;
            break;
          case this.__apiStates.PAUSED:
            readableState = this.__states.PAUSED;
            break;
          default:
            return;
        }

        if (this.state == readableState) {
          return