There are no tracking or monitoring cookies on this site. There are only cookies used for documentation examples related to cookies.
Close

Processing...
This may take a few seconds.

fullscreen-on

DEPRECATED: Use the fullscreen action command instead. This command will be removed in version 3.

Syntax

fullscreen-on: true [every (time)] [after (time)];

Put the browser into fullscreen mode.

This works by assigning the target selector to go fullscreen.

If you are building controls for a video player, make sure that you make the wrapping element fullscreen that surrounds both the video and the controls.

Ie. put a div around the video tag and the video controls, and make that fullscreen.