Plugin YoutubeVideoPlayer


#1

Hello people…

Im trying to use the native plugin Youtube Video Player and youtube api v3

is working fine… but when a click to open a video… it opens kinda on the youtube…
i would like to open inside my app…

i dont know what to do now… embbed it in an iframe?
ther’s a way to open a player inside de app using the native plugin?

openVideo(videoId: string) {
    if (this.plt.is('cordova')) {
      this.youtube.openVideo(videoId);
    } else {
      window.open('https://www.youtube.com/watch?v=' + videoId);
    }
  }

Many thanks!!