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

AR Scavenger - Camera access is blocked by default in chrome #142

Closed
kelvin-xu opened this issue May 9, 2022 · 3 comments
Closed

AR Scavenger - Camera access is blocked by default in chrome #142

kelvin-xu opened this issue May 9, 2022 · 3 comments

Comments

@kelvin-xu
Copy link

Camera and Microphone access are blocked when using cross-origin iframe in Chrome https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-permissions-in-cross-origin-iframes. The change was shipped in early 2018.

Therefore, the new AR Scavenger content type will not work when embeded using a cross-origin iframe. Additional attributes are required, for example

<iframe src="https://example.com/" allow="microphone; camera"></iframe>
@otacke
Copy link
Contributor

otacke commented May 9, 2022

@kelvin-xu That's why there's #114

@kelvin-xu
Copy link
Author

Oh sorry, I didn't notice that. Thanks for letting me know.

@otacke
Copy link
Contributor

otacke commented May 9, 2022

@kelvin-xu No problem at all! It's good to bring some attention to that problem again!

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

2 participants