function stop() {
		/*
  	Runs the before stop callback.
  */
		_helpers2.default.runCallback('before_stop');

		/*
  	Set the current time of the song to 0 which will reset the song.
  */
		if (_config2.default.active_song.currentTime != 0) {
			_config2.default.active_song.currentTime = 0;
		}

		/*
  	Run pause so the song will stop
  */
		_config2.default.active_song.pause();

		/*
  	If the song is live, disconnect the stream.
  */
		if (_config2.default.active_metadata.live) {
			disconnectStream();
		}

		/*
  	Run the after stop callback
  */
		_helpers2.default.runCallback('after_stop');
	}
/**
  * Stops the active song by setting the current song time to 0.
  * When the user resumes, it will be from the beginning.
  * If it's a live stream it disconnects.
  *
  * Public Accessor: Amplitude.stop()
  *
  * @access public
  */
Stops the active song by setting the current song time to 0.
When the user resumes, it will be from the beginning.
If it's a live stream it disconnects.



@access public
Stops the active song by setting the current song time to 0 . When the user resumes it will be from the beginning . If it ' s a live stream it disconnects . @access public
function stop() {
		_helpers2.default.runCallback('before_stop');
		if (_config2.default.active_song.currentTime != 0) {
			_config2.default.active_song.currentTime = 0;
		}
		_config2.default.active_song.pause();
		if (_config2.default.active_metadata.live) {
			disconnectStream();
		}
		_helpers2.default.runCallback('after_stop');
	}
function stop ( ) { _helpers2 . default . runCallback ( 'before_stop' ) ; if ( _config2 . default . active_song . currentTime != 0 ) { _config2 . default . active_song . currentTime = 0 ; } _config2 . default . active_song . pause ( ) ; if ( _config2 . default . active_metadata . live ) { disconnectStream ( ) ; } _helpers2 . default . runCallback ( 'after_stop' ) ; }
Stops the active song by setting the current song time to 0.
Stops the active song by setting the current song time to 0 .
/*
  	Runs the before stop callback.
  */ /*
  	Set the current time of the song to 0 which will reset the song.
  */ /*
  	Run pause so the song will stop
  */ /*
  	If the song is live, disconnect the stream.
  */ /*
  	Run the after stop callback
  */