-
Notifications
You must be signed in to change notification settings - Fork 822
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
Does not play the video on iOS #45
Comments
I have a same issue |
En mi caso sucede igual, aunque funcionó algunas veces pero cuando desplegué la aplicación y la probé no me funcionaba el reproductor |
Unhandled Exception: PlatformException(evaluateJavaScript_failed, Failed evaluating JavaScript, JavaScript string was: 'loadById("iLnmTe5Q2Qw", 0)' I tried in iPhone 7 |
Hey folks, can you check with Version 4 and report with full log if it's not working on iOS? |
Still error can not play video
|
Which version are you currently on ? |
Hi, I'm on 4.0.0+2 Getting this:
|
@Igalsr @docaohuynh can you mind helping by inspecting the app using Safari Web Inspector and reporting the console's output? |
I have used 4.0.0+2
|
@sarbagyastha I'm unable to get it inspected once I click on it it's just empty |
Hi I am facing similar issue of videos not playing in IOS. On my android device it mostly works, although a couple of times i've not been able to play videos i get this error for IOS
Thanks, |
Could you check if Version 4.1.0 fix it? |
Hi, @sarbagyastha. unfortunately, it didn't help.
|
With version 4.1.0 It make my app crash |
Hi , I'm also using the 4.1.0 and i used my mobile to debug,
|
i am facing the same issue, with version 4.1.0. It works fine on android device, but not responding anything on IOS device MY Flutter version :
This is the error message i received
|
@sarbagyastha do you need any other help? I'm waiting for a working youtube library for iOS to release for production, maybe you know another library or you need some help in order to get it working? |
Video not playing VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: PlatformException(evaluateJavaScript_failed, Failed evaluating JavaScript, JavaScript string was: 'play()' |
Same problem for me VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: PlatformException(evaluateJavaScript_failed, Failed evaluating JavaScript, JavaScript string was: 'play()' |
I have used this package https://github.com/hoanglm4/flutter_youtube_view. it work for both android and Ios |
Did anyone find a fix or workaround for this issue? |
I ended up using another package called flutube: |
Check #79 |
Sadly, i cannot get it to work on iOS. In Android it works fine. In iOS it just does not play the video and sometimes I experienced freezes.
I tested it with two iOS devices (iPad 2017 with iOS 12 and iPad Air with iOS 10). There is no error message in the Debug Console, it just loads forever.
I used your example project with the most up to date plugin version (but also tried 1.0.0 with the same result). And also tried it with my real world project.
I added this to Info.plist:
<key>io.flutter.embedded_views_preview</key> <true/>
Have you tried the plugin on iOS devices? Any suggestions?
The text was updated successfully, but these errors were encountered: