FullscreenButton

Activates/disables fullscreen mode

Props

  • icon {string} - The URL for the button icon
  • isFullscreen {boolean} - Whether the player is in full screen mode

API

player.ekoshell.FullscreenButton

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)
Rate this page: X
Tell us more!