Merge pull request #11041 from Budibase/feature/iframe-geo-and-fullscreen-permissions

Added fullscreen and geolocation permissions to iframe embed
This commit is contained in:
Andrew Kingston 2023-06-27 16:14:43 +01:00 committed by GitHub
commit 7308abec0a
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
$: appUrl = `${window.origin}/embed${app?.url}`
$: appDeployed = app?.status === AppStatus.DEPLOYED
$: embed = `<iframe width="800" height="600" frameborder="0" allow="clipboard-write;camera" src="${appUrl}"></iframe>`
$: embed = `<iframe width="800" height="600" frameborder="0" allow="clipboard-write;camera;geolocation;fullscreen" src="${appUrl}"></iframe>`
</script>
<Layout noPadding>