Hi everyone,
I have a problem with Youtube video on iOS. Like you can see :
I use sanitizer :
async ngOnInit() {
this.video = this.getSanitizedUrl();
}
getSanitizedUrl() {
let id_yt = this.navParams.get('id_yt');
return this.sanitizer.bypassSecurityTrustResourceUrl('https://www.youtube.com/embed/' + id_yt);
};
front :
<iframe id="player" width="560" height="315" [src]="video" frameborder="0" allowfullscreen></iframe>
but it’s not working on iOS.
Do you have some ideas ?
Thanks