-
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 player throws error when put in ListView and scrolled past really quickly #21
Comments
Thanks! This is a bit of a tricky one, but I think I know where the bug is. I'll try to push up a fix for it over the weekend :) |
Yeah i just face this problem. Used chewie with hero animation then got same problem here. Plz take a look for my problem.
Thanks you |
Hi. I changed code to
then no problem. Only red screen when using chewie. Plz fix that |
@brianegan could this ve related to "didUpdateWidget" disposing the controller? (the hero issue) |
Can't reproduce this issue in |
Hello, I have tried to implement this inside my Listview widget and I have tried version 0.9.0 as well in 0.9.4 but I got the same issue(Black screen). In my code I just initialize video and i don't want to play it but on click of that I am opening another view and inside that, I play the video. This is a snippet of my code:
Please help. |
Any new on this? I get a lot of "Another exception was thrown: A ChewieController was used after being disposed." when I try to play a video from a gridview click... |
I am having this issue using version ^0.9.8+1. Can this be reopened? void initState() { |
This link solved my issue - I needed to move a super.dispose() line to after the chewie.dispose() in my override void dispose area. |
I set the auto dispose parameter to false and dispose it when ever I am off the page... Use same video player controller and update the datasource with setDataSource... set autoplay to false and Add a listener to player controller with BetterPlayerEvents I manage Auto Play and things... One thing that bug me now is If I play video some times video doesn't initialize and throws a playback error only on iOS... And suggestion how to fix this... |
When the video is part of a list and you scroll to it very quickly, it throws an error and the interface becomes red.
Code to reproduce:
The text was updated successfully, but these errors were encountered: