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

Camera and Microphone Setup can't be configure inside an iframe #50

Closed
ankbs opened this issue Oct 4, 2020 · 2 comments
Closed

Camera and Microphone Setup can't be configure inside an iframe #50

ankbs opened this issue Oct 4, 2020 · 2 comments

Comments

@ankbs
Copy link

ankbs commented Oct 4, 2020

Hi,

I had the first customer demo / adhoc poc as a webcast last week.
So I worked with the two Hero Samples.

The Use Case of the customer (international enterprise service and manufactory) is to chat with endusers on his website.
They wan't to have the option, to chat inside an internal website inside an iframe.
The Hero sample for Video Call could not start inside an iframe with webcam and microphone because the Pop-Up ("Allow to open...") dosn't opening.

Of course, it's works well, when i open the call in a new tab.
but like the demo videos from Ignite and Garage, this should be working inside an iframe.

regards, michael

@alex-kwan
Copy link

@ankbs

I was wondering if you could share which browser you are demo-ing on?

I was wondering if you are able to apply on additional properties on your iframe? If you are using a chromium browser it should enable the specific HTML5 permissions such as Camera/Microphone

https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-permissions-in-cross-origin-iframes

@ankbs
Copy link
Author

ankbs commented Oct 5, 2020

@alex-kwan

Thanks for responding.
Edge Chrome (Version 87.0.654.0 (Offizielles Build) dev (64-Bit)) and FF....

But Thank you, this was a great Tip!
It's working!

<iframe src="https://example.com" **allow**="geolocation; **microphone; camera**"></iframe>

Perfect ;-)
Regards,
Michael

@ankbs ankbs closed this as completed Oct 5, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Nov 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants