Skip to content
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

No implementation found for method playYoutubeVideo on channel PonnamKarthik/flutter_youtube #54

Open
johnny-stevie opened this issue Oct 21, 2019 · 2 comments

Comments

@johnny-stevie
Copy link

I get this error when trying to start a simple Youtube video

Performing hot reload... Reloaded 3 of 675 libraries in 1,720ms. E/flutter ( 6127): [ERROR:flutter/shell/common/shell.cc(178)] Dart Error: Unhandled exception: E/flutter ( 6127): MissingPluginException(No implementation found for method playYoutubeVideo on channel PonnamKarthik/flutter_youtube) E/flutter ( 6127): #0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:7) E/flutter ( 6127): <asynchronous suspension> E/flutter ( 6127): #1 FlutterYoutube.playYoutubeVideoById (package:flutter_youtube/flutter_youtube.dart:97:14) E/flutter ( 6127): #2 _YouTubeShowResults.build (package:quick_song/search_results_widget.dart:19:24) E/flutter ( 6127): #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:4047:27) E/flutter ( 6127): #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3941:15) E/flutter ( 6127): #5 Element.rebuild (package:flutter/src/widgets/framework.dart:3738:5) E/flutter ( 6127): #6 StatefulElement.update (package:flutter/src/widgets/framework.dart:4120:5) E/flutter ( 6127): #7 Element.updateChild (package:flutter/src/widgets/framework.dart:2893:15) E/flutter ( 6127): #8 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5134:14) E/flutter ( 6127): #9 Element.updateChild (package:flutter/src/widgets/framework.dart:2893:15) E/flutter ( 6127): #10 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3961:16) E/flutter ( 6127): #11 Element.rebuild (package:flutter/src/widgets/framework.dart:3738:5) E/flutter ( 6127): #12 StatelessElement.update (package:flutter/src/widgets/framework.dart:4016:5) E/flutter ( 6127): #13 Element.updateChild (package:flutter/src/widgets/framework.dart:2893:15) E/flutter ( 6127): #14 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5134:14) E/flutter ( 6127): #15 Element.updateChild (package:flutter/src/widgets/framework.dart:2893:15) E/flutter ( 6127): #16 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5134:14) E/flutter ( 6127): #17 Element.updateChild (package:flutter/src/widgets/framework.dart:2893:15) E/flutter ( 6127): #18 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5134:14) E/flutter ( 6127): #19 Element.updateChild (package:flutter/src/widgets/framework.dart:2893:15) E/flutter ( 6127): #20 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5134:14) E/flutter ( 6127): #21 Element.updateChild (package:flutter/src/widgets/framework.dart:2893:15) E/flutter ( 6127): #22 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3961:16) E/flutter ( 6127): #23 Element.rebuild (package:flutter/src/widgets/framework.dart:3738:5) E/flutter ( 6127): #24 StatefulElement.update (package:flutter/src/widgets/framework.dart:4120:5) E/flutter ( 6127): #25 Element.updateChild (package:flutter/src/widgets/framework.dart:2893:15) E/flutter ( 6127): #26 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3961:16) E/flutter ( 6127): #27 Element.rebuild (package:flutter/src/widgets/framework.dart:3738:5) E/flutter ( 6127): #28 StatelessElement.update (package:flutter/src/widgets/framework.dart:4016:5) E/flutter ( 6127): #29 Element.updateChild (package:flutter/src/widgets/framework.dart:2893:15) E/flutter ( 6127): #30 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3961:16) E/flutter ( 6127): #31 Element.rebuild (package:flutter/src/widgets/framework.dart:3738:5) E/flutter ( 6127): #32 StatefulElement.update (package:flutter/src/widgets/framework.dart:4120:5) E/flutter ( 6127): #33 Element.updateChild (package:flutter/src/widgets/framework.dart:2893:15) E/flutter ( 6127): #34 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5134:14) E/flutter ( 6127): #35 Element.updateChild (package:flutter/src/widgets/framework.dart:2893:15) E/flutter ( 6127): #36 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3961:16) E/flutter ( 6127): #37 Element.rebuild (package:flutter/src/widgets/framework.dart:3738:5) E/flutter ( 6127): #38 ProxyElement.update (package:flutter/src/widgets/framework.dart:4254:5) E/flutter ( 6127): #39 _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:94:11) E/flutter ( 6127): #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2893:15) E/flutter ( 6127): #41 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5134:14) E/flutter ( 6127): #42 Element.updateChild (package:flutter/src/widgets/framework.dart:2893:15) E/flutter ( 6127): #43 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3961:16) E/flutter ( 6127): #44 Element.rebuild (p

source code:
Widget build(BuildContext context){ return Container( child: FlutterYoutube.playYoutubeVideoById( apiKey: "API_KEY", videoId: widget.searchId, autoPlay: true, //default falase fullScreen: true //default false ) ) }

@fabiot21
Copy link

Same issue

@jonnyjohnson1
Copy link

I get this same issue. Has anyone found a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants