h5p / h5p-wordpress-plugin

Adds support for H5P Content in WordPress.
https://wordpress.org/plugins/h5p/
71 stars 74 forks source link

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

Closed kelvin-xu closed 2 years ago

kelvin-xu commented 2 years ago

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

otacke commented 2 years ago

@kelvin-xu That's why there's https://github.com/h5p/h5p-wordpress-plugin/pull/114

kelvin-xu commented 2 years ago

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

otacke commented 2 years ago

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