Play youtube private video in ionic 3


#1

i am new to ionic and getting error while playing private youtube video in ionic 3


im not getting what to do…
please some help me out and thanx in advanced…

please some help me out…

config.xml :=>

<?xml version='1.0' encoding='utf-8'?> Lippincott Gurukul An awesome Ionic/Cordova app. Ionic Framework Team

html :=>
<ion-list *ngSwitchCase="‘video’">
<ion-card *ngFor=“let pdf of allpdf”>

{{ id }} {{ name }}

TS code: =>
sanitize(Video) {
var video = this.Video;
return this.dom.bypassSecurityTrustResourceUrl(Video);
}


#2

Have you tried this? https://ionicframework.com/docs/native/youtube-video-player/


#3

yes but videos are related to the topics and according to that topics videos should open …
but im just getting this message “This video is unavailable”