-
Notifications
You must be signed in to change notification settings - Fork 746
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
flutter: The controller is not ready for method calls. [BUG] #120
Comments
@fabiot21 Was the issue present in v6.0.3+1 ? |
@sarbagyastha I tried older versions and I'm having the same problem. |
@fabiot21 Did you check by removing constraint version? like: |
@sarbagyastha yes :( |
@fabiot21 Please try on real device too. Sometimes simulators maynot support playback or might freeze as platform-views a expensive. |
@sarbagyastha I've seen this in real device too. It happens very often although it looks a bit random. Sometimes it disappears after a few try, sometimes not. Tested with v6.0.3+2 on Android 9 both in release mode and debug mode. |
@sarbagyastha Do you have any aditional info about this? I see this issue randomly in both production&debug(see my comment above). I can try to help if you don't have time. |
I confirm the bug on Android.
|
I just started seeing this on Android simulator. |
I Confirm, this bug is still exist |
I also have the same bug on android. |
I have the same error , I am seeing that it is when the video does not finish loading, I will try to solve it and send my answer. |
Same problem. |
Sorry for the late response, was on a tight schedule. Will be working on the issue within this week. |
I am getting this stacktrace as well: flutter/flutter#25714 |
I had same issue. and I solved this problem like this. In YoutubePlayerController Class, _callMethod(String methodString) { |
One observation is: _callMethod(String methodString) { |
@royycc |
|
@ipolx |
Somehow, i managed this error. I think it was flutter version issue. Works very good ! |
@ipolx |
Some devices do not yet know what arrow functions are. You need to replace the code in row_youtube_player.dart: events: { with events: { |
I fixed the issue by changing the following method in RawYoutubePlayer by adding the else part to automatically reload if needed onPageFinished: (_) { |
Update flutter to the latest version and problem solved |
Latest stable? |
Tried the latest version, but not working |
Getting the same error with latest version |
I'm also getting the same exception. I'm using it for my production app. |
it's working in an ios simulator with the latest version of |
I've got the same error here tried everything but found no solution, the thumb shows up but the video does not start using the latest version of flutter and YouTube_player_flutter |
I was getting this error because |
SORTED OUTMy scenario is that I have a feed and I need autoplay when it appears on the screen, when I pressed play on the widget and it had just appeared on the screen, it sent this error "The controller is not ready for method calls." I solved it by initializing it with |
Im getting this error after making autoplay false |
I'm running the example project on iOS 11 Simulator and every time I tap on a video I get this error.
The text was updated successfully, but these errors were encountered: