function play() {
		/*
  	Run the before play callback
  */
		_helpers2.default.runCallback('before_play');

		/*
  	If the audio is live we re-conenct the stream.
  */
		if (_config2.default.active_metadata.live) {
			reconnectStream();
		}

		/*
  	Mobile remote sources need to be reconnected on play. I think this is
  	because mobile browsers are optimized not to load all resources
  	for speed reasons. We only do this if mobile and the paused button
  	is not clicked. If the pause button was clicked then we don't reconnect
  	or the user will lose their place in the stream.
  */
		if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && !_config2.default.paused) {
			reconnectStream();
		}

		/*
  	Play the song and set the playback rate to the playback
  	speed.
  */
		_config2.default.active_song.play();
		_config2.default.active_song.playbackRate = _config2.default.playback_speed;

		/*
  	Run the after play callback
  */
		_helpers2.default.runCallback('after_play');
	}
/**
  * Plays the active song. If the current song is live, it reconnects
  * the stream before playing.
  *
  * Public Accessor: Amplitude.play()
  *
  * @access public
  */
Plays the active song. If the current song is live, it reconnects
the stream before playing.



@access public
Plays the active song . If the current song is live it reconnects the stream before playing . @access public
function play() {
		_helpers2.default.runCallback('before_play');
		if (_config2.default.active_metadata.live) {
			reconnectStream();
		}
		if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && !_config2.default.paused) {
			reconnectStream();
		}
		_config2.default.active_song.play();
		_config2.default.active_song.playbackRate = _config2.default.playback_speed;
		_helpers2.default.runCallback('after_play');
	}
function play ( ) { _helpers2 . default . runCallback ( 'before_play' ) ; if ( _config2 . default . active_metadata . live ) { reconnectStream ( ) ; } if ( / Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini / i . test ( navigator . userAgent ) && ! _config2 . default . paused ) { reconnectStream ( ) ; } _config2 . default . active_song . play ( ) ; _config2 . default . active_song . playbackRate = _config2 . default . playback_speed ; _helpers2 . default . runCallback ( 'after_play' ) ; }
Plays the active song.
Plays the active song .
/*
  	Run the before play callback
  */ /*
  	If the audio is live we re-conenct the stream.
  */ /*
  	Mobile remote sources need to be reconnected on play. I think this is
  	because mobile browsers are optimized not to load all resources
  	for speed reasons. We only do this if mobile and the paused button
  	is not clicked. If the pause button was clicked then we don't reconnect
  	or the user will lose their place in the stream.
  */ /*
  	Play the song and set the playback rate to the playback
  	speed.
  */ /*
  	Run the after play callback
  */