how can i get camera access in ios12 application embedded html

i can sure the app already hava the camera access, but in the embedded html, i still cannot open the camera. And this HTML page is work at Safari, but cant work on app when the page is embedded in app.

there is the error message: DOMException: undefine is not an object (evaluating 'navigator.mediaDevices.getUserMedia')

and i also try to use 'navigator.getUserMedia' and 'navigator.mediaDevices.enumerateDevices()', this all dont work.

how can i get camera access in ios12 application embedded html
 
 
Q