Open cerireyhan opened 4 years ago
same issue
I fix like this:
in full_screen_button.dart @override Widget build(BuildContext context) { return IconButton( icon: Icon( _controller.value.isFullScreen ? Icons.fullscreen_exit : Icons.fullscreen, color: widget.color, ), onPressed: () => { _controller.pause(), Future.delayed(Duration(milliseconds: 200)).then((e) { _controller.toggleFullScreenMode(); }) }, ); }
some solution to this problem ?
After starting the video, rotating the device or switching to fullscreen mode through the controls stops the video and it produces the error message below.
MissingPluginException: MissingPluginException(No implementation found for method evaluateJavascript on channel com.pichillilorenzo/flutter_inappwebview_2) File "platform_channel.dart", line 159, in MethodChannel._invokeMethod File "<asynchronous suspension>" File "in_app_webview_controller.dart", line 1350, in InAppWebViewController.evaluateJavascript File "<asynchronous suspension>" File "unparsed"
Steps to reproduce the behavior:
Video stops playing
Similar issue: https://github.com/sarbagyastha/youtube_player_flutter/issues/242