-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Black player when exit fullscreen (WEB) #688
Comments
Is there a solution to this issue yet? |
Is there a solution to this yet? |
1 similar comment
Is there a solution to this yet? |
@pankokmu1 Try listening for Fullscreen with a state variable and replace your original widget, temporarily, with a dummy (like an empty SizedBox). When exiting fullscreen, put the widget back and force a rebuild. It seems the issue is sharing the controller with the overlay that gets generated on fullscreen. Note, I ended up writing my own video player for the web as there are multiple issues, especially concerning mobile. I took after how youtube treats theirs. |
i have the same problem |
Is there a solution to this yet? |
Code example created from tip, it works only draw back is once exits full screen video is back to start
|
On web, the video player turns black whenever you exits fullscreen.
The video starts fine, you go on fullscreen and it's fine here too.
Then, you exit fullscreen and the video is now black (with audio playing).
To reproduce:
I'm on Flutter 3.3.8.
Chewie and video_player up-to-date with latest pub.dev versions.
The text was updated successfully, but these errors were encountered: