From 97b5c29f113a711c51feb30f7a6939f620b53c1c Mon Sep 17 00:00:00 2001 From: Will Chen Date: Mon, 7 Jul 2025 12:33:11 -0700 Subject: [PATCH] Allow common iframe permissions (#589) Fixes #576 Fixes #538 --- src/components/preview_panel/PreviewIframe.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/preview_panel/PreviewIframe.tsx b/src/components/preview_panel/PreviewIframe.tsx index fa2c32a..ec75848 100644 --- a/src/components/preview_panel/PreviewIframe.tsx +++ b/src/components/preview_panel/PreviewIframe.tsx @@ -565,6 +565,7 @@ export const PreviewIframe = ({ loading }: { loading: boolean }) => { title={`Preview for App ${selectedAppId}`} className="w-full h-full border-none bg-white dark:bg-gray-950" src={appUrl} + allow="clipboard-read; clipboard-write; fullscreen; microphone; camera; display-capture; geolocation; autoplay; picture-in-picture" /> )}