function syncIndividualSongPlayedProgressBars(songPlayedPercentage) {
		/*
  	Ensure that the song completion percentage is a number
  */
		if (!isNaN(songPlayedPercentage)) {
			/*
   	If the active playlist is not null, we get the individual song
   	played progress for the playlist.
   */
			if (_config2.default.active_playlist != '' && _config2.default.active_playlist != null) {
				/*
    	Get all of the song progress bars
    */
				var songPlayedProgressBars = document.querySelectorAll('.amplitude-song-played-progress[amplitude-playlist="' + _config2.default.active_playlist + '"][amplitude-song-index="' + _config2.default.active_index + '"]');

				for (var i = 0; i < songPlayedProgressBars.length; i++) {
					var max = songPlayedProgressBars[i].max;

					songPlayedProgressBars[i].value = songPlayedPercentage / 100 * max;
				}
			} else {
				/*
    	Get all of the song progress bars
    */
				var _songPlayedProgressBars = document.querySelectorAll('.amplitude-song-played-progress[amplitude-song-index="' + _config2.default.active_index + '"]');

				for (var _i = 0; _i < _songPlayedProgressBars.length; _i++) {
					var _max = _songPlayedProgressBars[_i].max;

					_songPlayedProgressBars[_i].value = songPlayedPercentage / 100 * _max;
				}
			}
		}
	}
/**
  * Sync how much has been played with a progress bar. This is for an individual song.
  *
  * @access private
  * @param {number} songPlayedPercentage 	- The percent of the song completed.
  */
Sync how much has been played with a progress bar. This is for an individual song.
@access private
@param {number} songPlayedPercentage        - The percent of the song completed.
Sync how much has been played with a progress bar . This is for an individual song . @access private @param { number } songPlayedPercentage - The percent of the song completed .
function syncIndividualSongPlayedProgressBars(songPlayedPercentage) {
		if (!isNaN(songPlayedPercentage)) {
			if (_config2.default.active_playlist != '' && _config2.default.active_playlist != null) {
				var songPlayedProgressBars = document.querySelectorAll('.amplitude-song-played-progress[amplitude-playlist="' + _config2.default.active_playlist + '"][amplitude-song-index="' + _config2.default.active_index + '"]');
				for (var i = 0; i < songPlayedProgressBars.length; i++) {
					var max = songPlayedProgressBars[i].max;
					songPlayedProgressBars[i].value = songPlayedPercentage / 100 * max;
				}
			} else {
				var _songPlayedProgressBars = document.querySelectorAll('.amplitude-song-played-progress[amplitude-song-index="' + _config2.default.active_index + '"]');
				for (var _i = 0; _i < _songPlayedProgressBars.length; _i++) {
					var _max = _songPlayedProgressBars[_i].max;
					_songPlayedProgressBars[_i].value = songPlayedPercentage / 100 * _max;
				}
			}
		}
	}
function syncIndividualSongPlayedProgressBars ( songPlayedPercentage ) { if ( ! isNaN ( songPlayedPercentage ) ) { if ( _config2 . default . active_playlist != '' && _config2 . default . active_playlist != null ) { var songPlayedProgressBars = document . querySelectorAll ( '.amplitude-song-played-progress[amplitude-playlist="' + _config2 . default . active_playlist + '"][amplitude-song-index="' + _config2 . default . active_index + '"]' ) ; for ( var i = 0 ; i < songPlayedProgressBars . length ; i ++ ) { var max = songPlayedProgressBars [ i ] . max ; songPlayedProgressBars [ i ] . value = songPlayedPercentage / 100 * max ; } } else { var _songPlayedProgressBars = document . querySelectorAll ( '.amplitude-song-played-progress[amplitude-song-index="' + _config2 . default . active_index + '"]' ) ; for ( var _i = 0 ; _i < _songPlayedProgressBars . length ; _i ++ ) { var _max = _songPlayedProgressBars [ _i ] . max ; _songPlayedProgressBars [ _i ] . value = songPlayedPercentage / 100 * _max ; } } } }
Sync how much has been played with a progress bar.
Sync how much has been played with a progress bar .
/*
  	Ensure that the song completion percentage is a number
  */ /*
   	If the active playlist is not null, we get the individual song
   	played progress for the playlist.
   */ /*
    	Get all of the song progress bars
    */ /*
    	Get all of the song progress bars
    */