Player — UI Transition
Last updated
Last updated
The LiSA Player supports a Picture-in-Picture (PiP)-like floating mode, allowing users to continue watching while interacting with other content. Depending on the host app / environment, the player remains in place but adjusts its controls to better suit a floating experience.
The following states describe the transition between fullscreen and floating mode:
requestFloatingMode
The player is starting the transition into floating mode.
Triggered when the user or system requests the player to enter floating mode.
The player replaces its onscreen controls with a more suitable UI for floating mode.
Once the transition completes, the floating
state is entered.
floating
The player has fully entered floating mode.
The floating mode UI is now active, providing minimal or more compact controls.
The user can interact with other content while the video remains visible.
If the user or system requests fullscreen again, the requestFullscreenMode
state is triggered.
requestFullscreenMode
The player is starting the transition back to fullscreen mode.
Triggered when the user or system requests the player to return to fullscreen.
The floating mode UI begins transitioning back to the standard fullscreen controls.
Once the transition completes, the fullscreen
state is entered.
fullscreen
The player has fully returned to fullscreen mode.
The default fullscreen controls are now active.
Any floating mode interactions are reset until requestFloatingMode
is triggered again.
mediaItemId
Required.
The mediaItemId
property uniquely identifies the Media Item from which this message originates.
mediaItemType
Required.
messageType
Required.
lsc:player:ui-transition
playerUiState
Required.
The playerUiState
property represents the current UI mode of the video player, determining how its controls and interface are adapted.
Possible values / transitions
fullscreen
— The player is in fullscreen mode with standard controls.
floating
— The player is in floating mode with an adapted UI.
requestFloatingMode
→ switches the player to floating
.
requestFullscreenMode
→ transitions the player back to fullscreen
.
If your integration uses LiSA Player Version 1, none of the properties described above will be available.
For LiSA Player Version 2, legacy properties can be ignored.
action
Required.
target
Required.
LiSA Player Version 1 does not support externally confirming when the player host component has completed its transition.
Triggered when the user taps the "Back to Fullscreen" CTA in the floating player’s onscreen controls.
LiSA Player Version 1 does not support requesting the host app to exit the floating state.
Along with all standard , a UI Transition message includes the following additional properties:
The mediaItemType
property specifies the type of Media Item from which this message originates.
Refer to for detailed information.
maximize
or minimize
Please use messageType
instead.
app
Please use messageType
instead.