Iframe with access to camera

I have a weweb app that at some point embeds another website that requires access to the camera. I tried to edit the HTML attributes of my iframe component and add an “allow” attribute with “camera” as value, but when I inspect the resulting DOM, the iframe doesnt include those attributes. When I manually change the DOM from Chrome directly, the iframe works perfect, so its just weweb not adding the “allow” attribute to it.

Is there anything that I should be doing differently here?

thanks!

Hi,

I think the reason may be in the Weweb object reference approach, which is described here.: Record video using webcam stream in weWeb

2 Likes