Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow microphone and camera through iframe #50

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

akoushke
Copy link
Contributor

@akoushke akoushke commented Aug 8, 2023

No description provided.

@akoushke akoushke requested a review from askmrsinh August 8, 2023 22:55
@@ -609,7 +609,7 @@
</div>
{:else}
<div id="iframe-url" class="tile is-child box is-translucent-black has-text-white is-flex-grow-1">
<Iframe url={demo?.iframeUrl} />
<Iframe url={demo?.iframeUrl} allow={'camera;microphone; fullscreen;display-capture'} />
Copy link
Member

@askmrsinh askmrsinh Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should have a config setting in the builder form to explicitly allow such access. Not all iframes need it so it's not wise to expose it unnecessarily. In most cases, we or the end user may not have much control over what's loaded in the iframe and it could become an issue if such privileged access is granted for all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants