Question: Angular In Angular, how to create a tnusted video link from a given dangerousun for the cemplate this.dangerous VideoUrl = https: / iwwwyoutube .
Angular
In Angular, how to create a tnusted video link from a given dangerousun for the cemplate this.dangerous VideoUrl https:iwwwyoutubecomrembedr id;
Pick ONE option
this.videoUn this sanitizer.bypassSecurityTrustUrlthisdangerousVideoUril:
this.videoUrl this.sanitizer.bypass:SecurityTrustHtmithisdangerousVideoUrl:
this.videoUrl thissanitizer.bypassSecurityTrustthisdangerousVideoUn:
this.videoUn this.sanitizer.bypassecurityTrustResourceUrlythis.dangerousVideoUrlx
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
