 var playOverlay = document.getElementById('play-overlay')

  playerDiv.onmousemove = function(e) {
    self.mouseOverControls = playerDiv.clientHeight - e.clientY < 50
  }

  var hideSettings = function() {
    if (self.settingsOpen) {
      self.settingsOpen = false;
      removeClass(settingsButton, 'open')
      settingsOverlay.style.display = "none";
      return true;
    }
    return false;
  }

  player.addEventListener('play', function(){
    if (playOverlay) {
      playOverlay.style.display = "no