function syncMainSongPlayedProgressBars(songPlayedPercentage) {
		/*
  	Ensure that the song completion percentage is a number
  */
		if (!isNaN(songPlayedPercentage)) {
			/*
   	Get all of the song progress bars
   */
			var songPlayedProgressBars = document.querySelectorAll('.amplitude-song-played-progress[amplitude-main-song-played-progress="true"]');

			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 the main progress bar.
  *
  * @access private
  * @param {number} songPlayedPercentage 	- The percent of the song completed.
  */
Sync how much has been played with a progress bar. This is the main progress bar.
@access private
@param {number} songPlayedPercentage        - The percent of the song completed.
Sync how much has been played with a progress bar . This is the main progress bar . @access private @param { number } songPlayedPercentage - The percent of the song completed .
function syncMainSongPlayedProgressBars(songPlayedPercentage) {
		if (!isNaN(songPlayedPercentage)) {
			var songPlayedProgressBars = document.querySelectorAll('.amplitude-song-played-progress[amplitude-main-song-played-progress="true"]');
			for (var i = 0; i < songPlayedProgressBars.length; i++) {
				var max = songPlayedProgressBars[i].max;
				songPlayedProgressBars[i].value = songPlayedPercentage / 100 * max;
			}
		}
	}
function syncMainSongPlayedProgressBars ( songPlayedPercentage ) { if ( ! isNaN ( songPlayedPercentage ) ) { var songPlayedProgressBars = document . querySelectorAll ( '.amplitude-song-played-progress[amplitude-main-song-played-progress="true"]' ) ; 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
  */ /*
   	Get all of the song progress bars
   */