function findElements() {
	    try {
	      this.elements.controls = getElement.call(this, this.config.selectors.controls.wrapper); // Buttons

	      this.elements.buttons = {
	        play: getElements.call(this, this.config.selectors.buttons.play),
	        pause: getElement.call(this, this.config.selectors.buttons.pause),
	        restart: getElement.call(this, this.config.selectors.buttons.restart),
	        rewind: getElement.call(this, this.config.selectors.buttons.rewind),
	        fastForward: getElement.call(this, this.config.selectors.buttons.fastForward),
	        mute: getElement.call(this, this.config.selectors.buttons.mute),
	        pip: getElement.call(this, this.config.selectors.buttons.pip),
	        airplay: getElement.call(this, this.config.selectors.buttons.airplay),
	        settings: getElement.call(this, this.config.selectors.buttons.settings),
	        captions: getElement.call(this, this.config.selectors.buttons.captions),
	        fullscreen: getElement.call(this, this.config.selectors.buttons.fullscreen)
	      }; // Progress

	      this.elements.progress = getElement.call(this, this.config.selectors.progress); // Inputs

	      this.elements.inputs = {
	        seek: getElement.call(this, this.config.selectors.inputs.seek),
	        volume: getElement.call(this, this.config.selectors.inputs.volume)
	      }; // Display

	      this.elements.display = {
	        buffer: getElement.call(this, this.config.selectors.display.buffer),
	        currentTime: getElement.call(this, this.config.selectors.display.currentTime),
	        duration: getElement.call(this, this.config.selectors.display.duration)
	      }; // Seek tooltip

	      if (is$1.element(this.elements.progress)) {
	        this.elements.display.seekTooltip = this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip));
	      }

	      return true;
	    } catch (error) {
	      // Log it
	      this.debug.warn('It looks like there is a problem with your custom controls HTML', error); // Restore native video controls

	      this.toggleNativeControls(true);
	      return false;
	    }
	  }
function findElements() {
	    try {
	      this.elements.controls = getElement.call(this, this.config.selectors.controls.wrapper); 

	      this.elements.buttons = {
	        play: getElements.call(this, this.config.selectors.buttons.play),
	        pause: getElement.call(this, this.config.selectors.buttons.pause),
	        restart: getElement.call(this, this.config.selectors.buttons.restart),
	        rewind: getElement.call(this, this.config.selectors.buttons.rewind),
	        fastForward: getElement.call(this, this.config.selectors.buttons.fastForward),
	        mute: getElement.call(this, this.config.selectors.buttons.mute),
	        pip: getElement.call(this, this.config.selectors.buttons.pip),
	        airplay: getElement.call(this, this.config.selectors.buttons.airplay),
	        settings: getElement.call(this, this.config.selectors.buttons.settings),
	        captions: getElement.call(this, this.config.selectors.buttons.captions),
	        fullscreen: getElement.call(this, this.config.selectors.buttons.fullscreen)
	      }; 

	      this.elements.progress = getElement.call(this, this.config.selectors.progress); 

	      this.elements.inputs = {
	        seek: getElement.call(this, this.config.selectors.inputs.seek),
	        volume: getElement.call(this, this.config.selectors.inputs.volume)
	      }; 

	      this.elements.display = {
	        buffer: getElement.call(this, this.config.selectors.display.buffer),
	        currentTime: getElement.call(this, this.config.selectors.display.currentTime),
	        duration: getElement.call(this, this.config.selectors.display.duration)
	      }; 

	      if (is$1.element(this.elements.progress)) {
	        this.elements.display.seekTooltip = this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip));
	      }

	      return true;
	    } catch (error) {
	      
	      this.debug.warn('It looks like there is a problem with your custom controls HTML', error); 

	      this.toggleNativeControls(true);
	      return false;
	    }
	  }
function findElements ( ) { try { this . elements . controls = getElement . call ( this , this . config . selectors . controls . wrapper ) ; // Buttons this . elements . buttons = { play : getElements . call ( this , this . config . selectors . buttons . play ) , pause : getElement . call ( this , this . config . selectors . buttons . pause ) , restart : getElement . call ( this , this . config . selectors . buttons . restart ) , rewind : getElement . call ( this , this . config . selectors . buttons . rewind ) , fastForward : getElement . call ( this , this . config . selectors . buttons . fastForward ) , mute : getElement . call ( this , this . config . selectors . buttons . mute ) , pip : getElement . call ( this , this . config . selectors . buttons . pip ) , airplay : getElement . call ( this , this . config . selectors . buttons . airplay ) , settings : getElement . call ( this , this . config . selectors . buttons . settings ) , captions : getElement . call ( this , this . config . selectors . buttons . captions ) , fullscreen : getElement . call ( this , this . config . selectors . buttons . fullscreen ) } ; // Progress this . elements . progress = getElement . call ( this , this . config . selectors . progress ) ; // Inputs this . elements . inputs = { seek : getElement . call ( this , this . config . selectors . inputs . seek ) , volume : getElement . call ( this , this . config . selectors . inputs . volume ) } ; // Display this . elements . display = { buffer : getElement . call ( this , this . config . selectors . display . buffer ) , currentTime : getElement . call ( this , this . config . selectors . display . currentTime ) , duration : getElement . call ( this , this . config . selectors . display . duration ) } ; // Seek tooltip if ( is$1 . element ( this . elements . progress ) ) { this . elements . display . seekTooltip = this . elements . progress . querySelector ( "." . concat ( this . config . classNames . tooltip ) ) ; } return true ; } catch ( error ) { // Log it this . debug . warn ( 'It looks like there is a problem with your custom controls HTML' , error ) ; // Restore native video controls this . toggleNativeControls ( true ) ; return false ; } }
Find the UI controls
Find the UI controls