ion() {
          }).catch(function(err) {
            console.log("Play blocked: " + err)
          });
        }
        self.update_player_controls();
      } else {
        player.pause();
        self.update_player_controls();
      }
    })

    if (screenfull.isEnabled) {
      document.addEventListener(screenfull.raw.fullscreenchange, self.onFullScreenChange)
    } else {
      if (fullScreenButton) {
        fullScreenButton.style.display = "none";
      }
    }

    playPauseInput.onchange = funct