demo/dist/demo.js
function timeUpdate(event) {
	    // Only invert if only one time element is displayed and used for both duration and currentTime
	    var invert = !is$1.element(this.elements.display.duration) && this.config.invertTime; // Duration

	    controls.updateTimeDisplay.call(this, this.elements.display.currentTime, invert ? this.duration - this.currentTime : this.currentTime, invert); // Ignore updates while seeking

	    if (event && event.type === 'timeupdate' && this.media.seeking) {
	      return;
	    } // Playing progress


	    controls.updateProgress.call(this, event);
	  }
function timeUpdate(event) {
	    // Only invert if only one time element is displayed and used for both duration and currentTime
	    var invert = !is$1.element(this.elements.display.duration) && this.config.invertTime; // Duration

	    controls.updateTimeDisplay.call(this, this.elements.display.currentTime, invert ? this.duration - this.currentTime : this.currentTime, invert); // Ignore updates while seeking

	    if (event && event.type === 'timeupdate' && this.media.seeking) {
	      return;
	    } // Playing progress


	    controls.updateProgress.call(this, event);
	  }
function timeUpdate ( event ) { // Only invert if only one time element is displayed and used for both duration and currentTime var invert = ! is$1 . element ( this . elements . display . duration ) && this . config . invertTime ; // Duration controls . updateTimeDisplay . call ( this , this . elements . display . currentTime , invert ? this . duration - this . currentTime : this . currentTime , invert ) ; // Ignore updates while seeking if ( event && event . type === 'timeupdate' && this . media . seeking ) { return ; } // Playing progress controls . updateProgress . call ( this , event ) ; }
Handle time change event
Handle time change event