function bindVolumeSlider() {
		/*
  	Gets browser so if we need to apply overrides, like we usually
  	have to do for anything cool in IE, we can do that.
  */
		var ua = window.navigator.userAgent;
		var msie = ua.indexOf("MSIE ");

		/*
  Gets all of the elements with the class amplitude-volume-slider
  */
		var volume_sliders = document.getElementsByClassName("amplitude-volume-slider");

		/*
  	Iterates over all of the volume slider classes and binds the event interaction
  	methods to the element. If the browser is IE we listen to the change event
  	where if it is anything else, it's the input method.
  */
		for (var i = 0; i < volume_sliders.length; i++) {
			/*
   	WARNING: If iOS, we don't do anything because iOS does not allow the
   	volume to be adjusted through anything except the buttons on the side of
   	the device.
   */
			if (/iPhone|iPad|iPod/i.test(navigator.userAgent)) {
				_helpers2.default.writeDebugMessage('iOS does NOT allow volume to be set through javascript: https://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html#//apple_ref/doc/uid/TP40009523-CH5-SW4');
			} else {
				if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) {
					volume_sliders[i].removeEventListener('change', _handlers2.default.volumeSlider);
					volume_sliders[i].addEventListener('change', _handlers2.default.volumeSlider);
				} else {
					volume_sliders[i].removeEventListener('input', _handlers2.default.volumeSlider);
					volume_sliders[i].addEventListener('input', _handlers2.default.volumeSlider);
				}
			}
		}
	}
/*--------------------------------------------------------------------------
 	BINDS: class="amplitude-volume-slider"
 		Binds change and input events for amplitude volume slider inputs
 --------------------------------------------------------------------------*/
class="amplitude-volume-slider"
Binds change and input events for amplitude volume slider inputs
class = " amplitude - volume - slider " Binds change and input events for amplitude volume slider inputs
function bindVolumeSlider() {
		var ua = window.navigator.userAgent;
		var msie = ua.indexOf("MSIE ");
		var volume_sliders = document.getElementsByClassName("amplitude-volume-slider");
		for (var i = 0; i < volume_sliders.length; i++) {
			if (/iPhone|iPad|iPod/i.test(navigator.userAgent)) {
				_helpers2.default.writeDebugMessage('iOS does NOT allow volume to be set through javascript: https://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html#//apple_ref/doc/uid/TP40009523-CH5-SW4');
			} else {
				if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) {
					volume_sliders[i].removeEventListener('change', _handlers2.default.volumeSlider);
					volume_sliders[i].addEventListener('change', _handlers2.default.volumeSlider);
				} else {
					volume_sliders[i].removeEventListener('input', _handlers2.default.volumeSlider);
					volume_sliders[i].addEventListener('input', _handlers2.default.volumeSlider);
				}
			}
		}
	}
function bindVolumeSlider ( ) { var ua = window . navigator . userAgent ; var msie = ua . indexOf ( "MSIE " ) ; var volume_sliders = document . getElementsByClassName ( "amplitude-volume-slider" ) ; for ( var i = 0 ; i < volume_sliders . length ; i ++ ) { if ( / iPhone|iPad|iPod / i . test ( navigator . userAgent ) ) { _helpers2 . default . writeDebugMessage ( 'iOS does NOT allow volume to be set through javascript: https://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html#//apple_ref/doc/uid/TP40009523-CH5-SW4' ) ; } else { if ( msie > 0 || ! ! navigator . userAgent . match ( / Trident.*rv\:11\. / ) ) { volume_sliders [ i ] . removeEventListener ( 'change' , _handlers2 . default . volumeSlider ) ; volume_sliders [ i ] . addEventListener ( 'change' , _handlers2 . default . volumeSlider ) ; } else { volume_sliders [ i ] . removeEventListener ( 'input' , _handlers2 . default . volumeSlider ) ; volume_sliders [ i ] . addEventListener ( 'input' , _handlers2 . default . volumeSlider ) ; } } } }
BINDS: class="amplitude-volume-slider"
Binds change and input events for amplitude volume slider inputs
BINDS : class = " amplitude - volume - slider " Binds change and input events for amplitude volume slider inputs
/*
  	Gets browser so if we need to apply overrides, like we usually
  	have to do for anything cool in IE, we can do that.
  */ /*
  Gets all of the elements with the class amplitude-volume-slider
  */ /*
  	Iterates over all of the volume slider classes and binds the event interaction
  	methods to the element. If the browser is IE we listen to the change event
  	where if it is anything else, it's the input method.
  */ /*
   	WARNING: If iOS, we don't do anything because iOS does not allow the
   	volume to be adjusted through anything except the buttons on the side of
   	the device.
   */