fix (hopefully) for video embedding in SB+

This commit is contained in:
Zef Hemel
2026-05-12 13:46:58 +02:00
parent 4e23e7a4c6
commit 0569a037b2
2 changed files with 5 additions and 1 deletions
@@ -54,6 +54,8 @@ export function prepareSandboxIFrame(): PreloadedIFrame {
// This one works in all browsers, although it's probably less secure
iframe.src = "about:blank";
iframe.style.visibility = "hidden";
iframe.allow =
"accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture; web-share";
const ready = new Promise<void>((resolve) => {
iframe.onload = () => {