After some research I discovered that this code would allow me to take a picture inside a website using HTML5:
<input type="file" accept="image/*">
However, I am wondering if there is a way to make the camera automatically take photos. For example, I want the website to take a photo from my IOS device every 2 seconds for a minute. Is this possible?