FullscreenButton

Activates/disables fullscreen mode
Props
icon {string}- The URL for the button iconisFullscreen {boolean}- Whether the player is in full screen mode
API
player.ekoshell.FullscreenButton
toggleFullscreen(e {event})- Toggles the player’s fullscreen functionality.
Events
FULLSCREENBTN_ENTER: "ekoshell.button.fullscreen.enter"FULLSCREENBTN_EXIT: "ekoshell.button.fullscreen.exit"
parentContainer
ControlsOverlay_buttonRow
Plugin Options
"fullscreenbutton": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "object",
"properties": {
"icon": {
"type": "object",
"required": [
"maximize",
"minimize"
],
"properties": {
"maximize": {
"type": "string",
"description": "URL of maximize icon"
},
"minimize": {
"type": "string",
"description": "URL of minimize icon"
}
}
},
"order": {
"type": "integer"
},
"parentContainer": {
"type": "string"
}
}
}
]
},
Notes
- Button should be disabled if overlayed by a different addon (for example, when the ShareScreen addon is visible on top)