ts side;
webURL: SafeHtml = "";
@Input() set selectedJob(job: any) {
this.mediaService.matchedIframe(this.jobId).subscribe((website: any) => {
this.webURL = this.sanitazer.bypassSecurityTrustHtml(website.htmlContent)
})
this.currentJob = job;
}
html side;
<iframe [src]="webURL"></iframe>
The data coming to my WebURL address is as follows.