Why do I get a "DOMException" error and can't access the camera in an iframe? June 01, 2021 10:10 Updated 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". Was this article helpful? Yes No Related articles Why do I get a "DOMException" error and can't access the camera when using http://? Why can I see warning messages "The AudioContext was not allowed to start" in the console? Web SDK - Why am I getting a black camera screen? How to use the WebSDK in NextJS/React with SSR? What does "NotReadableError: Could not initialize camera correctly" mean? Comments 0 comments Article is closed for comments.
Comments
0 comments
Article is closed for comments.