We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: PlatformException(evaluateJavaScript_failed, Failed evaluating JavaScript, JavaScript string was: 'loadById("Wvs1h5T4iBE", 0)' Error Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" UserInfo={WKJavaScriptExceptionLineNumber=1, WKJavaScriptExceptionMessage=ReferenceError: Can't find variable: loadById, WKJavaScriptExceptionColumnNumber=9, WKJavaScriptExceptionSourceURL=about:blank, NSLocalizedDescription=A JavaScript exception occurred}) #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7) #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:316:33) #2 MethodChannelWebViewPlatform.evaluateJavascript (package:webview_flutter/src/webview_method_channel.dart:90:21) #3 WebViewController.evaluateJavascript (package:webview_flutter/webview_flutter.dart:626:39) #4 YoutubePlayerController._evaluateJS (package:youtube_player_flutter/src/youtube_player.dart:553:30) #5 YoutubePlayerController.load (package:youtube_player_flutter/src/youtube_player.dart:572:7) #6 _YoutubePlayerState.listener (package:youtube_player_flutter/src/youtube_player.dart:222:24) #7 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:206:21) #8 ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:273:5) #9 __PlayerState.build. (package:youtube_player_flutter/src/player.dart:186:29) #10 _PlatformCallbacksHandler.onPageFinished (package:webview_flutter/webview_flutter.dart:453:15) #11 MethodChannelWebViewPlatform._onMethodCall (package:webview_flutter/src/webview_method_channel.dart:39:35) #12 MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:397:55) #13 MethodChannel.setMethodCallHandler. (package:flutter/src/services/platform_channel.dart:365:54) #14 _DefaultBinaryMessenger.handlePlatformMessage (package:flutter/src/services/binary_messenger.dart:110:33) #15 _invoke3. (dart:ui/hooks.dart:293:15) #16 _rootRun (dart:async/zone.dart:1124:13) #17 _CustomZone.run (dart:async/zone.dart:1021:19) #18 _CustomZone.runGuarded (dart:async/zone.dart:923:7) #19 _invoke3 (dart:ui/hooks.dart:292:10) #20 _dispatchPlatformMessage (dart:ui/hooks.dart:154:5)
this is the error that I'm getting
The text was updated successfully, but these errors were encountered:
Could you please try with the latest version. I think you're using older version.
Sorry, something went wrong.
Please update to version 5 and try again. Duplicate of #79
No branches or pull requests
[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: PlatformException(evaluateJavaScript_failed, Failed evaluating JavaScript, JavaScript string was: 'loadById("Wvs1h5T4iBE", 0)'
Error Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" UserInfo={WKJavaScriptExceptionLineNumber=1, WKJavaScriptExceptionMessage=ReferenceError: Can't find variable: loadById, WKJavaScriptExceptionColumnNumber=9, WKJavaScriptExceptionSourceURL=about:blank, NSLocalizedDescription=A JavaScript exception occurred})
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7)
#1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:316:33)
#2 MethodChannelWebViewPlatform.evaluateJavascript (package:webview_flutter/src/webview_method_channel.dart:90:21)
#3 WebViewController.evaluateJavascript (package:webview_flutter/webview_flutter.dart:626:39)
#4 YoutubePlayerController._evaluateJS (package:youtube_player_flutter/src/youtube_player.dart:553:30)
#5 YoutubePlayerController.load (package:youtube_player_flutter/src/youtube_player.dart:572:7)
#6 _YoutubePlayerState.listener (package:youtube_player_flutter/src/youtube_player.dart:222:24)
#7 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:206:21)
#8 ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:273:5)
#9 __PlayerState.build. (package:youtube_player_flutter/src/player.dart:186:29)
#10 _PlatformCallbacksHandler.onPageFinished (package:webview_flutter/webview_flutter.dart:453:15)
#11 MethodChannelWebViewPlatform._onMethodCall (package:webview_flutter/src/webview_method_channel.dart:39:35)
#12 MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:397:55)
#13 MethodChannel.setMethodCallHandler. (package:flutter/src/services/platform_channel.dart:365:54)
#14 _DefaultBinaryMessenger.handlePlatformMessage (package:flutter/src/services/binary_messenger.dart:110:33)
#15 _invoke3. (dart:ui/hooks.dart:293:15)
#16 _rootRun (dart:async/zone.dart:1124:13)
#17 _CustomZone.run (dart:async/zone.dart:1021:19)
#18 _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#19 _invoke3 (dart:ui/hooks.dart:292:10)
#20 _dispatchPlatformMessage (dart:ui/hooks.dart:154:5)
this is the error that I'm getting
The text was updated successfully, but these errors were encountered: