Glitchbone / CordovaYoutubeVideoPlayer

Play Youtube Videos in a native Video Player on Android & iOS
MIT License
83 stars 133 forks source link

Plugin doesn't work anymore #48

Open thealiano opened 1 year ago

thealiano commented 1 year ago

Helllo,

This plugin doesn't work anymore with recent version of Node ( > 10 )

Ionic:

Ionic CLI : 6.19.1 (/Users/alexismurciano/.nvm/versions/node/v18.3.0/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 6.1.9 @angular-devkit/build-angular : 13.2.6 @angular-devkit/schematics : 13.2.6 @angular/cli : 13.2.6 @ionic/angular-toolkit : 6.1.0

Cordova:

Cordova CLI : 11.0.0 Cordova Platforms : android 10.1.2, ios 6.2.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 3 other plugins)

Utility:

cordova-res (update available: 0.15.4) : 0.15.1 native-run (update available: 1.6.0) : 1.2.2

System:

Android SDK Tools : 26.1.1 (/Users/alexismurciano/Library/Android/sdk) ios-sim : 8.0.2 NodeJS : v18.3.0 (/Users/alexismurciano/.nvm/versions/node/v18.3.0/bin/node) npm : 8.11.0 OS : macOS Monterey Xcode : Xcode 13.4.1 Build version 13F100

Step to reproduce : Add and install plugin let test = this.youtubeVideoPlayer.openVideo('u8nQa1cJyX8'); console.log('yt RETURN', test);

return : Class not found

On both ios and android , tested with node 10,12,14,18 worked only with node 10