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

[BUG] bottom actions dissapears after exit full screen mode #820

Closed
anyx opened this issue May 3, 2023 · 3 comments
Closed

[BUG] bottom actions dissapears after exit full screen mode #820

anyx opened this issue May 3, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@anyx
Copy link

anyx commented May 3, 2023

Describe the bug
Looks like this bug #135 appears again on android devices in version 8.1.2

To Reproduce
Open video in full screen mode and return back.

Expected behavior
Bottom actions are visible after exit from full screen mode.

@anyx anyx added the bug Something isn't working label May 3, 2023
@anyx
Copy link
Author

anyx commented May 3, 2023

Looks like there is a problem with opacity and state, maybe: inside _TouchShutterState _toggleControls are calling, but YoutubePlayer does not rerenders after update _controller.

So, in fullscreen mode controls never disappears, after exit in fullscreen mode controls never appears.

Also there is a similar problem with preview image: if before play video open it in fullscreen mode, video will be playing with preview image instead of actual video

@anyx
Copy link
Author

anyx commented May 4, 2023

it was my mistake: YoutubePlayerController was initialized inside build method every time.

Sorry, closing it

@anyx anyx closed this as completed May 4, 2023
@TijnvandenEijnde
Copy link

This post actually helped me, I made the same error, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants