Skip to content

Enable the developer to set the default state of isFullscreen #1590

Description

@helomri

Use case description

When multiple video players views are chained, if the user presses the fullscreen button in the PlayerControlView (the state of the button would go from fullScreenButton to minimalFullScreenButton) and then navigates to a second PlayerControlView while still being in fullscreen, the button will be in its default position (fullScreenButton) in this new PlayerControlView.

Proposed solution

Create a public facing method in PlayerView called setIsFullscreen which would call PlayerControlView.updateFullScreenButtonForState with the new state (also add the corresponding fullScreenButton and would update isFullscreen)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions