ogressBarTrackHover.style.opacity = 0
    }

    var volumeBar = playerDiv.getElementsByClassName('player-volume')[0];
    if (volumeBar) {
      var handleVolumeMouseMove = function(e) {
        var distance = calculateDistance(e, volumeBar);
        if (distance < .25) {
          return;
        }
        var volume = calculateDistance(e, playerDiv.getElementsByClassName('player-volume-track')[0]);
        player.volume = volume;
        if (volume == 0) {
          player.muted = true;
        } else {
