1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00

Added permissions for the embed iframe to support fullscreen and geolocation features

This commit is contained in:
Dean 2023-06-27 14:23:25 +01:00
parent a3ebcb2896
commit 6c7c28f9f1

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>