-
Notifications
You must be signed in to change notification settings - Fork 750
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
Failed evaluating JavaScript, JavaScript string was: 'play()' #34
Comments
Hi, |
Same problem here. On iOS device iPhone 6s, iOS 12. |
Same. |
Extremely sorry for the late respond, was quite busy since last time I updated the plugin. Will be looking into the issue. |
on iOs plays only if forceHideAnnotation: false if true, then: [VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: PlatformException(evaluateJavaScript_failed, Failed evaluating JavaScript, JavaScript string was: 'play()' |
I am facing the same issue for iOS. |
@sarbagyastha, I updated the plugin from v3 to [VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: PlatformException(evaluateJavaScript_failed, Failed evaluating JavaScript, JavaScript string was: 'play()' |
Same here :-( |
I simplified this and made my own HTML file and ran it locally. The iOS web view still didn't work with the youtube iframe api from their code example. However, if I loaded HTML with an embedded iframe from the |
@kmcgill88 @komaromil Could you check if Version 4.1.0 fix it? |
@sarbagyastha I got it to play once but the performance was awful! It still crashes a majority of the time. I tested on real iPhone and Simulator. I also confirmed it works on Android Emulator. |
@sarbagyastha I'm using 4.10 and still go this error on iphone
|
Any update on this? |
same issue |
Check #79 |
Using
youtube_player_flutter: ^3.0.0+1
.Platform: iOS | No issues on Android.
Stack trace:
flutter --version
:The text was updated successfully, but these errors were encountered: