If you use this on your WEB, everything will be fine if you use Secure Protocol (SSL) or if you work on a localhost or 127.0.0.1
I was testing this API that modern browsers support
Estaba probando está API que los navegadores modernos soportan (Fucking Internet Explorer) and looking for documentation information Capturing Images with HTML5
I started playing a bit with this.
I will define what I did:
- Make use of the API.
- Give permission to use it.
- Focus well and capture the photo.
- In case I do not like to be able to take another.
- Allow to save the photo on the mobile or PC (depending on where make).
So all this is contemplated in the code.
Si usas esto en tu WEB, todo ira bien si usas protocolo Seguro ( SSL ) o si lo trabajas en un localhost o 127.0.0.1
Estaba probando está API que los navegadores modernos soportan (Fucking Internet Explorer) y buscando información de la documentación Capturing Images with HTML5
Me puse ha jugar un poco con esto.
Definiré lo que hice:
- Hacer uso de la API.
- Dar permisos para usarlo.
- Enfocarme bien y hacer la captura de la foto.
- En caso no me guste poder tomar otra.
- Permitir guardar la foto en el mobile o PC ( dependiendo de donde lo haga).
Así que todo esto esta contemplado en el código.