function update() {
	      if (this.enabled) {
	        var mode;

	        if (this.forceFallback) {
	          mode = 'Fallback (forced)';
	        } else if (Fullscreen.native) {
	          mode = 'Native';
	        } else {
	          mode = 'Fallback';
	        }

	        this.player.debug.log("".concat(mode, " fullscreen enabled"));
	      } else {
	        this.player.debug.log('Fullscreen not supported and fallback disabled');
	      } // Add styling hook to show button


	      toggleClass(this.player.elements.container, this.player.config.classNames.fullscreen.enabled, this.enabled);
	    }
function update() {
	      if (this.enabled) {
	        var mode;

	        if (this.forceFallback) {
	          mode = 'Fallback (forced)';
	        } else if (Fullscreen.native) {
	          mode = 'Native';
	        } else {
	          mode = 'Fallback';
	        }

	        this.player.debug.log("".concat(mode, " fullscreen enabled"));
	      } else {
	        this.player.debug.log('Fullscreen not supported and fallback disabled');
	      } 


	      toggleClass(this.player.elements.container, this.player.config.classNames.fullscreen.enabled, this.enabled);
	    }
function update ( ) { if ( this . enabled ) { var mode ; if ( this . forceFallback ) { mode = 'Fallback (forced)' ; } else if ( Fullscreen . native ) { mode = 'Native' ; } else { mode = 'Fallback' ; } this . player . debug . log ( "" . concat ( mode , " fullscreen enabled" ) ) ; } else { this . player . debug . log ( 'Fullscreen not supported and fallback disabled' ) ; } // Add styling hook to show button toggleClass ( this . player . elements . container , this . player . config . classNames . fullscreen . enabled , this . enabled ) ; }
Update UI
Update UI