I am trying to access media devices and am unable to when the app is embedded on Chrome. It is because of Chrome’s Policy on Cross Origin iFrame. Can I know how do we add attributes to the iFrame when using AppBridge so that I can access media devices.
https://blog.addpipe.com/camera-and-microphone-access-in-cross-oirigin-iframes-with-feature-policy/#:~:text=You%20can%20control%20whether%20or,the%20fullscreen%20API
Thanks
Hi Tarun! Are you asking about accessing media devices on a smartphone? App Bridge has a Scanner action that might give you what you need.
Thank you Dave for responding. I’d like to access the camera and microphone from an embedded web app. A video calling solution.
Thanks for the clarification Tarun. We do not currently support adding iframe allow attributes for embedded apps.
uplara
February 22, 2021, 9:00am
5
Hey Dave any update here or proposed workaround. We want to provide a virtual tryon app that will allow access to camera
Hi uplara. Unfortunately, adding iframe allow attributes such as accessing the camera and microphone from an embedded web app are not supported yet.
Maybe in the future, we implement this feature but it currently is not on our roadmap.
We hope to see your app in our store soon.
Are there any updates to supporting iframe allow attributes for camera and microphone permissions from an embedded web app?