Ingresar el código aquí...Events
- studio.events.StudioEvent.FULLSCREEN_SUPPORT
- studio.events.StudioEvent.FULLSCREEN_DIMENSIONS
- studio.events.StudioEvent.FULLSCREEN_EXPAND_START
- studio.events.StudioEvent.FULLSCREEN_EXPAND_FINISH
- studio.events.StudioEvent.FULLSCREEN_COLLAPSE_START
- studio.events.StudioEvent.FULLSCREEN_COLLAPSE_FINISH
Methods
- Enabler.queryFullscreenSupport()
- Enabler.queryFullscreenDimensions()
- Enabler.requestFullscreenExpand(opt_width, opt_height)
- Enabler.finishFullscreenExpand()
- Enabler.requestFullscreenCollapse()
- Enabler.finishFullscreenCollapse()
To set up the fullscreen expand panel:
Set up your variables and register event listeners. To determine if fullscreen is available, call Enabler.queryFullscreenSupport()
.
Enabler.addEventListener(studio.events.StudioEvent.FULLSCREEN_SUPPORT,
function(e) {
supported = e.supported;
});
Enabler.queryFullscreenSupport();
// Show the previously hidden fullscreen button once you know it will work:
if (e.supported) {
fsBtn.style.display = 'block';
}