Skip to content

Commit

Permalink
Merge pull request #565 from H2-invent/hotfix/sandbox-attribute
Browse files Browse the repository at this point in the history
+ fix sandbox properties
  • Loading branch information
holema authored Nov 14, 2024
2 parents 1ec42d0 + 2fc0f72 commit 9504a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/livekit/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class livekitApi {
this.iframe.style.height = "100%";

this.iframe.allow = "autoplay; camera; clipboard-write; compute-pressure; display-capture; hid; microphone; screen-wake-lock; speaker-selection";
this.iframe.sandbox = "allow-same-origin allow-popups-to-escape-sandbox allow-scripts allow-storage-access-by-user-activation";
this.iframe.sandbox = "allow-same-origin allow-popups-to-escape-sandbox allow-scripts allow-storage-access-by-user-activation allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-presentation";
// Das iframe in das parentElement einfügen
document.getElementById(this.parentElement).appendChild(this.iframe);

Expand Down

0 comments on commit 9504a6d

Please sign in to comment.