demo/dist/demo.js
function setPlayerSize(measure) {
	        // If we don't need to measure the viewport
	        if (!measure) {
	          return setAspectRatio.call(player);
	        }

	        var rect = elements.container.getBoundingClientRect();
	        var width = rect.width,
	            height = rect.height;
	        return setAspectRatio.call(player, "".concat(width, ":").concat(height));
	      }
function setPlayerSize(measure) {
	        // If we don't need to measure the viewport
	        if (!measure) {
	          return setAspectRatio.call(player);
	        }

	        var rect = elements.container.getBoundingClientRect();
	        var width = rect.width,
	            height = rect.height;
	        return setAspectRatio.call(player, "".concat(width, ":").concat(height));
	      }
function setPlayerSize ( measure ) { // If we don't need to measure the viewport if ( ! measure ) { return setAspectRatio . call ( player ) ; } var rect = elements . container . getBoundingClientRect ( ) ; var width = rect . width , height = rect . height ; return setAspectRatio . call ( player , "" . concat ( width , ":" ) . concat ( height ) ) ; }
Resize on fullscreen change
Resize on fullscreen change