Why do I get a "DOMException" error and can't access the camera in an iframe?

 If you're using the library inside a cross-origin iframe element you have to make sure you set the needed [feature policies](, required by some browsers. In our case case the needed policy needs to be added to the iframe as: allow="camera".

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request