You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
I have the same need, the problem is different but the solution would be the same.
I use a dialog to present the video in fullscreen.
If I use the player fullscreen button to enter and exit fullscreen, everything works as expected.
But if I'm in fullscreen and press back, the video exits fullscreen, but the fullscreen button stays out of sync.
Which means that I need to press it twice to enter in fullscreen mode again.
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 fromfullScreenButton
tominimalFullScreenButton
) and then navigates to a secondPlayerControlView
while still being in fullscreen, the button will be in its default position (fullScreenButton
) in this newPlayerControlView
.Proposed solution
Create a public facing method in
PlayerView
calledsetIsFullscreen
which would callPlayerControlView.updateFullScreenButtonForState
with the new state (also add the correspondingfullScreenButton
and would updateisFullscreen
)The text was updated successfully, but these errors were encountered: