Using device camera in web app

I have a web application in which i want to use the device camera (smartphone/ tablet). The only option I could find on the marketplace is the Camera Widget This widget works, however in my app flow I want the user to taken pictures at more then one page. I have added the widget to multiple pages. Unfortunately this ain't working. On the first page it works fine, but on the next pages the camera does not appear when pressing the start camera button. It looks like the camera is already started because I can click the ‘take picture’ button. I have no possibility of closing the camera widget after taking picture on the first page. Anyone knows a solution to this?  (without having to go native or hybrid)    
1 answers

I created an idea for this:

Upvotes are welcome!