Hi..Can anyone help me to access the camera and take photos from webview?

Hi everyone and sorry to bother you, I created a site. This site via smartphone web browser works well, when I press select file, it opens both the gallery and the possibility of accessing the camera. I found something around that I adapted to my needs (I have no knowledge) and at the moment I can access the gallery. I would need it to access the camera as well as the gallery, and in both cases ask the user for permission. Thanks to the availability.

A search on this community for customwebview camera returned this: