function bindPlay() {
		/*
  	Gets all of the elements with the class amplitude-play
  */
		var play_classes = document.getElementsByClassName("amplitude-play");

		/*
  	Iterates over all of the play classes and binds the event interaction
  	method to the element. If the browser is mobile, then the event is touchend
  	otherwise it is click.
  */
		for (var i = 0; i < play_classes.length; i++) {
			if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
				play_classes[i].removeEventListener('touchend', _handlers2.default.play);
				play_classes[i].addEventListener('touchend', _handlers2.default.play);
			} else {
				play_classes[i].removeEventListener('click', _handlers2.default.play);
				play_classes[i].addEventListener('click', _handlers2.default.play);
			}
		}
	}
/*--------------------------------------------------------------------------
 	BINDS: class="amplitude-play"
 		Binds click and touchend events for amplitude play buttons.
 --------------------------------------------------------------------------*/
class="amplitude-play"
Binds click and touchend events for amplitude play buttons.
class = " amplitude - play " Binds click and touchend events for amplitude play buttons .
function bindPlay() {
		var play_classes = document.getElementsByClassName("amplitude-play");
		for (var i = 0; i < play_classes.length; i++) {
			if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
				play_classes[i].removeEventListener('touchend', _handlers2.default.play);
				play_classes[i].addEventListener('touchend', _handlers2.default.play);
			} else {
				play_classes[i].removeEventListener('click', _handlers2.default.play);
				play_classes[i].addEventListener('click', _handlers2.default.play);
			}
		}
	}
function bindPlay ( ) { var play_classes = document . getElementsByClassName ( "amplitude-play" ) ; for ( var i = 0 ; i < play_classes . length ; i ++ ) { if ( / Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini / i . test ( navigator . userAgent ) ) { play_classes [ i ] . removeEventListener ( 'touchend' , _handlers2 . default . play ) ; play_classes [ i ] . addEventListener ( 'touchend' , _handlers2 . default . play ) ; } else { play_classes [ i ] . removeEventListener ( 'click' , _handlers2 . default . play ) ; play_classes [ i ] . addEventListener ( 'click' , _handlers2 . default . play ) ; } } }
BINDS: class="amplitude-play"
Binds click and touchend events for amplitude play buttons.
BINDS : class = " amplitude - play " Binds click and touchend events for amplitude play buttons .
/*
  	Gets all of the elements with the class amplitude-play
  */ /*
  	Iterates over all of the play classes and binds the event interaction
  	method to the element. If the browser is mobile, then the event is touchend
  	otherwise it is click.
  */