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](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy#Specifying_your_policy), required by some browsers. In our case case the needed policy needs to be added to the iframe as: allow="camera". Have more questions? Submit a request