Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix : fullScreenByDefault does not work with autoPlay #710 #711

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

maxbritto
Copy link

The first attempt to go full screen just after checking if autoPlay is on fails and prevents the second want to be done.

See bug reported here for more information #710

…y#710

The first attempt to go full screen just after checking if `autoPlay` is on fails and prevents the second want to be done.
On some devices, the `VideoPlayerController` can be ready before the `Chewie` widget is.
If that happens, the `enterFullScreen()` call does not work and the controller is out of sync believing it’s in full screen where it’s not.

Fix attempt : We wait until we have at least one listener before trying to enter full screen
@diegotori
Copy link
Collaborator

@maxbritto LGTM.

@maxbritto
Copy link
Author

Do you need anything else from me until you can merge the PR ?

@diegotori
Copy link
Collaborator

@maxbritto Please re-sync your changes with master's latest changes. That way, I can evaluate them before I merge this PR.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants