-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Video src cannot be switched in full-screen mode #849
Comments
I got the same problem . How to resolve it |
I can only move the [Chewie] Widget to a stable parent widget. |
Did you resolve the issue after the move? I replaced it with the better_player module. |
|
same problem |
i had some test by offical example (ChewieDemo) , in the official example, ChewieDemo is loaded as the entree node:
MaterialApp( So far, I don't know what the problem is and need to debug it further |
当进入全屏后,假如外部包裹【Chiewe】的父组件【Dispose】,问题就会出现。我接到的产品需求是在【List】列表页中的每个【item】播放视频,在这种情况下全屏模式会随着【item】的复用出现问题。所以我禁用了全屏模式,添加了按钮跳转到一个独立的大屏播放界面过渡。在单一的新界面使用全屏模式是稳定的。 |
finally , i rebuild this module to resolve it that full screen change source problem . it means that i must be implement to fullscreen widget and state management and controller bar by myself. |
I got the same problem |
how to you solve it please ? |
This is brief implementation that about solve it :
|
same issue |
I guess that since full screen is entering a new page, the changes in page1 parameters cannot be responded to page2 in time (I tried to pass count from page1 to page2 and modify it, and it turned out that only page1 responded to the change). Therefore, just encapsulate the parameters through ChangeNotifier and use them. Here is a simple demo
|
Based on your answer @azhezzzz , an alternative with ChangeNotifier.
|
Result
Abnormal black screen is stuck
Error info
The text was updated successfully, but these errors were encountered: