The WMKS core object uses full screen API methods to control full screen mode in the browser.
canFullScreen()
Returns whether the browser is enabled for full screen mode. Due to security concerns with keyboard input in full screen mode, Safari is not enabled for full screen mode.
-
Parameters
-
None
-
Return Value
-
Type: Boolean. True indicates that the browser is enabled for full screen mode.
-
Example Call
-
wmks.canFullScreen();
isFullScreen()
Returns whether the browser is in full screen mode.
-
Parameters
-
None
-
Return Value
-
Type: Boolean. True indicates that the browser is in full screen mode.
-
Example Call
-
wmks.isFullScreen();
enterFullScreen()
Forces the browser to enter full screen mode. In full screen mode, only the remote screen appears.
-
Parameters
-
None
-
Return Value
-
None
-
Example Call
-
wmks.enterFullScreen();
exitFullScreen()
Forces the browser to exit full screen mode.
-
Parameters
-
None
-
Return Value
-
None
-
Example Call
-
wmks.exitFullScreen();