layer.timer.sliderUpdateInterval);
          }
        }, 60);
      },

      // when Player is paused

      _onPause: function() {
        var player = this;
        player.isPlaying = false;
      },


      // when Player ended playing an audio file

      _onEnd: function() {
        var player = this;
        player.ended = true;
        player.isPlaying = false;
        player.$.replay.style.opacity = 1;    // display Replay icon

        // Dispatch 'Ended' event to GA
        if (!!player.gaId) th