urrentTime;
          self.player.play()
          hideSettings();
        }
      }
    }

    playerDiv.addEventListener("mousemove", onUserActivity);

    this.player.addEventListener("mousedown", function(e) {

      onUserActivity(e);
      var button = e.which || e.button;

      if (button == 3) {
        return;
      }

      if (hideSettings()) {
        return;
      }

      if (player.paused) {
        var promise = player.play()
        if (promise !== undefined) {
          promise.then(funct