ReferenceFeatures
Fullscreen
Fullscreen state and actions for the player store
Controls fullscreen mode. Tries the container element first, falls back to the media element.
Import
The liveVideoFeatures and videoFeatures feature bundles include this feature.
Selector
Pass selectFullscreen to PlayerController to subscribe to fullscreen state. Returns undefined if the fullscreen feature is not configured.
Screen orientation
Add features.orientationLock to lock screen orientation while fullscreen is active. Unsupported browsers and rejected lock requests are ignored, so iOS Safari continues to use its normal fullscreen behavior.
The feature locks to landscape unless the provider sets another Screen Orientation API type.
See Orientation lock for the player setup.