1
0
Fork 0
mirror of synced 2024-07-02 04:50:44 +12:00

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

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>