function updateRangeFill(target) {
	    // Get range from event if event passed
	    var range = is$1.event(target) ? target.target : target; // Needs to be a valid <input type='range'>

	    if (!is$1.element(range) || range.getAttribute('type') !== 'range') {
	      return;
	    } // Set aria values for https://github.com/sampotts/plyr/issues/905


	    if (matches$1(range, this.config.selectors.inputs.seek)) {
	      range.setAttribute('aria-valuenow', this.currentTime);
	      var currentTime = controls.formatTime(this.currentTime);
	      var duration = controls.formatTime(this.duration);
	      var format = i18n.get('seekLabel', this.config);
	      range.setAttribute('aria-valuetext', format.replace('{currentTime}', currentTime).replace('{duration}', duration));
	    } else if (matches$1(range, this.config.selectors.inputs.volume)) {
	      var percent = range.value * 100;
	      range.setAttribute('aria-valuenow', percent);
	      range.setAttribute('aria-valuetext', "".concat(percent.toFixed(1), "%"));
	    } else {
	      range.setAttribute('aria-valuenow', range.value);
	    } // WebKit only


	    if (!browser.isWebkit) {
	      return;
	    } // Set CSS custom property


	    range.style.setProperty('--value', "".concat(range.value / range.max * 100, "%"));
	  }
function updateRangeFill(target) {
	    
	    var range = is$1.event(target) ? target.target : target; 

	    if (!is$1.element(range) || range.getAttribute('type') !== 'range') {
	      return;
	    } 


	    if (matches$1(range, this.config.selectors.inputs.seek)) {
	      range.setAttribute('aria-valuenow', this.currentTime);
	      var currentTime = controls.formatTime(this.currentTime);
	      var duration = controls.formatTime(this.duration);
	      var format = i18n.get('seekLabel', this.config);
	      range.setAttribute('aria-valuetext', format.replace('{currentTime}', currentTime).replace('{duration}', duration));
	    } else if (matches$1(range, this.config.selectors.inputs.volume)) {
	      var percent = range.value * 100;
	      range.setAttribute('aria-valuenow', percent);
	      range.setAttribute('aria-valuetext', "".concat(percent.toFixed(1), "%"));
	    } else {
	      range.setAttribute('aria-valuenow', range.value);
	    } 


	    if (!browser.isWebkit) {
	      return;
	    } 


	    range.style.setProperty('--value', "".concat(range.value / range.max * 100, "%"));
	  }
function updateRangeFill ( target ) { // Get range from event if event passed var range = is$1 . event ( target ) ? target . target : target ; // Needs to be a valid <input type='range'> if ( ! is$1 . element ( range ) || range . getAttribute ( 'type' ) !== 'range' ) { return ; } // Set aria values for https://github.com/sampotts/plyr/issues/905 if ( matches$1 ( range , this . config . selectors . inputs . seek ) ) { range . setAttribute ( 'aria-valuenow' , this . currentTime ) ; var currentTime = controls . formatTime ( this . currentTime ) ; var duration = controls . formatTime ( this . duration ) ; var format = i18n . get ( 'seekLabel' , this . config ) ; range . setAttribute ( 'aria-valuetext' , format . replace ( '{currentTime}' , currentTime ) . replace ( '{duration}' , duration ) ) ; } else if ( matches$1 ( range , this . config . selectors . inputs . volume ) ) { var percent = range . value * 100 ; range . setAttribute ( 'aria-valuenow' , percent ) ; range . setAttribute ( 'aria-valuetext' , "" . concat ( percent . toFixed ( 1 ) , "%" ) ) ; } else { range . setAttribute ( 'aria-valuenow' , range . value ) ; } // WebKit only if ( ! browser . isWebkit ) { return ; } // Set CSS custom property range . style . setProperty ( '--value' , "" . concat ( range . value / range . max * 100 , "%" ) ) ; }
Webkit polyfill for lower fill range
Webkit polyfill for lower fill range