Skip to content

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

@kelvin-xu

Description

@kelvin-xu

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions