creenButton) {
      fullScreenButton.onclick = function(e) {
        hideSettings();
        if (screenfull.isEnabled) {
          screenfull.toggle(playerDiv);
          setTimeout(function() {
            player.style.maxHeight = document.body.offsetHeight + "px";
          }, 1000);
        }
      }
      fullScreenButton.onmousedown = function(e) {
        e.stopPropagation();
      }
    }

    if (settingsButton) {
      settingsButton.onclick = function(e) {
        if (self.settingsOpen) {
       