Skip to content

Pass down the "allow" property to custom widgets #1554

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

Open
SimonMulquin opened this issue Apr 9, 2025 · 0 comments
Open

Pass down the "allow" property to custom widgets #1554

SimonMulquin opened this issue Apr 9, 2025 · 0 comments

Comments

@SimonMulquin
Copy link

Describe the problem to be solved

I am making a widget to allow the user to take calls directly in Grist, to do so, I need to ask the user to allow camera and microphone.

Image

Describe the solution you would like

To do that, I need the widget's iframe to pass down the "allow" property so I can in turn pass it down to the call's iframe.

See an example here: Servant-Cities/grist-integrations@828143a

It would be great to extend grist-plugin-api to let the widget request permissions just like we do when requesting document access.

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

No branches or pull requests

1 participant