-
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
Web: Video breaks when leaving fullscreen #311
Comments
I'm having the same issue. |
1 similar comment
I'm having the same issue. |
Has anyone found a solution? |
Is this fixed with the newest update? |
No |
I found a web only solution though |
@shatanikmahanty Feel free to share ^^ |
I am showing video in a popup you can do your own implementation Make sure to import dart:js
|
Sorry I was bit late to comment but I implemented another web only solution using html and waited to complete both so that I can post together: Note : Make sure you import -- >
Source :
|
You will get this error "The name 'platformViewRegistry' is being referenced through the prefix 'ui', but it isn't defined in any of the libraries imported using that prefix". But this is an error in flutter web. If you search in Google you will find issue mentioned in Flutter framework github page. Coming to the point, your code will run properly if you hit run on web. Happy Coding ^^ |
I found one useful discussion in stack overflow regarding conditional importing. You can use this to integrate a separate approach for web app without breaking the other platform builds. Link is below : |
Is Chewie still being supported? This is a major bug that was opened 16 months ago and hasn't been addressed by devs in any way... |
Workaround: When closing, just reinitialise the controllers and pass through the position and isPlaying etc. Not 100% smooth, but better than nothing |
Has anyone solved this problem now? |
I think this got fixed with #810 |
Chewie works nicely on web, which is awesome.
But if I go into fullscreen and leave again, it breaks the video and leaves it blank.
EDIT: Initially I though this was caused by the Wakelock.enable/disable function, which throw the error
Error: MissingPluginException(No implementation found for method toggle on channel wakelock)
. But by removing Wakelock.enable/disable, the error log disappears but the video still breaks.The text was updated successfully, but these errors were encountered: