0

I am trying to display Angular website inside another website using object tag.I used bigbluebutton in object tag.I need to use camera on website in the object tag but camera not found.Bigbluebuttom when open different tab, working camera.

Here is my code

openVirtual(url) {
    //url = https://xxxx.bigbluebutton.com/html5client/
    
    this.urlVirtual = this.sanitizer.bypassSecurityTrustResourceUrl(url); 
    this.isBigBlueButtom = true;

}
<div *ngIf="isBigBlueButtom" id="box">
  <object type="text/html" [attr.data]="urlVirtual">
  </object>
</div

enter image description here enter image description here

1 Answers1

0

I found the problem. Here is my code

<div *ngIf="isBigBlueButtom" id="box">
  <iframe type="text/html" [src]="urlVirtual" allow="camera; microphone">
  </iframe>
</div