Allow common iframe permissions (#589)

Fixes #576 
Fixes #538
This commit is contained in:
Will Chen
2025-07-07 12:33:11 -07:00
committed by GitHub
parent a9575abc01
commit 97b5c29f11

View File

@@ -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"
/>
)}
</div>