function updateTime() {
		/*
  	Help from: http://jsbin.com/badimipi/1/edit?html,js,output
  */
		if (_config2.default.active_song.buffered.length - 1 >= 0) {
			var bufferedEnd = _config2.default.active_song.buffered.end(_config2.default.active_song.buffered.length - 1);
			var duration = _config2.default.active_song.duration;

			_config2.default.buffered = bufferedEnd / duration * 100;
		}

		/*
  	Sync the buffered progress bars.
  */
		_visual2.default.syncBufferedProgressBars();

		/*
  	If the current song is not live, then
  	we can update the time information. Otherwise the
  	current time updates wouldn't mean much since the time
  	is infinite.
  */
		if (!_config2.default.active_metadata.live) {
			/*
   	Compute the current time
   */
			var currentTime = _helpers2.default.computeCurrentTimes();

			/*
   	Compute the song completion percentage
   */
			var songCompletionPercentage = _helpers2.default.computeSongCompletionPercentage();

			/*
   	Computes the song duration
   */
			var songDuration = _helpers2.default.computeSongDuration();

			/*
   	Sync the current time elements with the current
   	location of the song and the song duration elements with
   	the duration of the song.
   */
			_visual2.default.syncCurrentTime(currentTime, songCompletionPercentage);
			_visual2.default.syncSongDuration(currentTime, songDuration);

			/*
   	Runs the callback defined for the time update.
   */
			_helpers4.default.runCallback('time_update');
		}
	}
/**
  * When the time updates on the active song, we sync the current time displays
  *
  * HANDLER FOR: timeupdate
  *
  * @access public
  */
When the time updates on the active song, we sync the current time displays
HANDLER FOR: timeupdate

@access public
When the time updates on the active song we sync the current time displays HANDLER FOR : timeupdate @access public
function updateTime() {
		if (_config2.default.active_song.buffered.length - 1 >= 0) {
			var bufferedEnd = _config2.default.active_song.buffered.end(_config2.default.active_song.buffered.length - 1);
			var duration = _config2.default.active_song.duration;
			_config2.default.buffered = bufferedEnd / duration * 100;
		}
		_visual2.default.syncBufferedProgressBars();
		if (!_config2.default.active_metadata.live) {
			var currentTime = _helpers2.default.computeCurrentTimes();
			var songCompletionPercentage = _helpers2.default.computeSongCompletionPercentage();
			var songDuration = _helpers2.default.computeSongDuration();
			_visual2.default.syncCurrentTime(currentTime, songCompletionPercentage);
			_visual2.default.syncSongDuration(currentTime, songDuration);
			_helpers4.default.runCallback('time_update');
		}
	}
function updateTime ( ) { if ( _config2 . default . active_song . buffered . length - 1 >= 0 ) { var bufferedEnd = _config2 . default . active_song . buffered . end ( _config2 . default . active_song . buffered . length - 1 ) ; var duration = _config2 . default . active_song . duration ; _config2 . default . buffered = bufferedEnd / duration * 100 ; } _visual2 . default . syncBufferedProgressBars ( ) ; if ( ! _config2 . default . active_metadata . live ) { var currentTime = _helpers2 . default . computeCurrentTimes ( ) ; var songCompletionPercentage = _helpers2 . default . computeSongCompletionPercentage ( ) ; var songDuration = _helpers2 . default . computeSongDuration ( ) ; _visual2 . default . syncCurrentTime ( currentTime , songCompletionPercentage ) ; _visual2 . default . syncSongDuration ( currentTime , songDuration ) ; _helpers4 . default . runCallback ( 'time_update' ) ; } }
When the time updates on the active song, we sync the current time displays
 HANDLER FOR: timeupdate
When the time updates on the active song we sync the current time displays HANDLER FOR : timeupdate
/*
  	Help from: http://jsbin.com/badimipi/1/edit?html,js,output
  */ /*
  	Sync the buffered progress bars.
  */ /*
  	If the current song is not live, then
  	we can update the time information. Otherwise the
  	current time updates wouldn't mean much since the time
  	is infinite.
  */ /*
   	Compute the current time
   */ /*
   	Compute the song completion percentage
   */ /*
   	Computes the song duration
   */ /*
   	Sync the current time elements with the current
   	location of the song and the song duration elements with
   	the duration of the song.
   */ /*
   	Runs the callback defined for the time update.
   */