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

iframe content doesn't request "Mic and Video" permissions #2502

Open
steveb85 opened this issue Sep 30, 2024 · 5 comments
Open

iframe content doesn't request "Mic and Video" permissions #2502

steveb85 opened this issue Sep 30, 2024 · 5 comments
Labels

Comments

@steveb85
Copy link

  • Min Version: 1.33
  • Operating system: macS 10.14

Expected Behavior

An embeded video call in an iFrame would request video and audio input

Actual Behavior

while the call is embeded in an iframe, no options appear to give permissions, so the frame becomes unusable, if you go directly to the source of the iframe, everything works as expected.

To Reproduce

the problem i have found is using element with jitsi for calls.
https://app.element.io/ and make a call using the jitsi plugin to reproduce, though i'm confident that this would reproduce in other setups, happy to share access to aguest room on our server to anyone needing to test. (message me directly)

@steveb85 steveb85 added the bug label Sep 30, 2024
@PalmerAL
Copy link
Collaborator

PalmerAL commented Oct 1, 2024

This was originally an intentional decision:

if (!details.isMainFrame) {
// not supported for now to simplify the UI
callback(false)
return
}

Is the Iframe URL on the same domain as the parent page? For that case, we could probably enable this fairly easily.

For third-party frames, we need to design a new UI for this so it's clear which domain is requesting the permission, and also make sure we match how other browsers handle this.

@steveb85
Copy link
Author

steveb85 commented Oct 1, 2024

Oh i see, that makes sense, in this instance it’s not the same domain, the parent is the element instance, and the iframe is jitsi, who is hosting the calls… my average annoying workaround is just to go to the source of the iframe in a new tab, however, i’m now facing the issue where i can’t screen share, and it seems perhaps this too is by design? @PalmerAL

@PalmerAL
Copy link
Collaborator

PalmerAL commented Oct 2, 2024

Yes unfortunately, see #1965

@steveb85
Copy link
Author

steveb85 commented Oct 3, 2024

@PalmerAL thanks for the answers on this! any knowledge of (if) this is part of a planned roadmap? Love min and the whole concept. but this does make it hard to use as a daily. would be interested in sponsoring potentially to get implemented, i don't have any time left to look at it myself.

@PalmerAL
Copy link
Collaborator

PalmerAL commented Oct 7, 2024

It hasn't been, but I think it would be a reasonable thing to work on. I may have some time soon, but I don't want to guarantee anything.

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

No branches or pull requests

2 participants