Youtube Video Player Error

I am develop youtube video app with Youtube Video Player native https://ionicframework.com/docs/native/youtube-video-player/
When emulate or run on ionic view has error:
“Native: tried calling YoutubeVideoPlayer.openVideo, but the YoutubeVideoPlayer plugin is not installed.”
“Install the YoutubeVideoPlayer plugin: ‘ionic plugin add https://github.com/JonSmart/CordovaYoutubeVideoPlayer’”

my ionic info:
global packages:

@ionic/cli-utils : 1.1.2
Cordova CLI      : 7.0.1
Ionic CLI        : 3.1.2

local packages:

@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.0.0-rc.2
@ionic/cli-plugin-ionic-angular : 1.0.0-rc.2
Ionic Framework                 : ionic-angular 3.2.1

System:

Node       : v7.7.4
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed

It won’t work in ionic view.
You need to build it and check in device.

1 Like

Did you?

Post the output of ionic cordova plugin list please.[quote=“ngvanmy, post:1, topic:91958”]
@ionic/cli-plugin-cordova : 1.0.0-rc.2
@ionic/cli-plugin-ionic-angular : 1.0.0-rc.2
[/quote]

These are a bit old and can be updated.

@ngvanmy Hi,yeah your ionic core is way too old. Like @Sujan12 says, it needs to be updated in emergency !! No way a native plugin work with that !! (any). Just be prepared if you update, you will switch from Ionic 1 to Ionic 3.

What? These are just a few weeks old versions of the CLI plugins. Nothing to do with “ionic core” (Whatever that is) or Ionic 1 or Native…

Yes, i update ionic and error has been resolved, but error when play youtube video “Can not play this video”.
Thanks.