1
0
Fork 0
mirror of synced 2024-10-05 12:34:50 +13:00

Added camera permission to the default embed iframe

This commit is contained in:
Dean 2023-06-20 14:29:10 +01:00
parent f04f42546a
commit 3607774d7e

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" src="${appUrl}" ></iframe>`
$: embed = `<iframe width="800" height="600" frameborder="0" allow="clipboard-write;camera" src="${appUrl}" ></iframe>`
</script>
<Layout noPadding>