Reputation: 106
I want to access the camera feature in chrome browser using HTTP.
Before that am using getUserMedia() for access the camera feature in chrome but it shows an error message.It working fine in chrome 41.0 version
"getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."
How can i access the camera feature in HTTP protocol in Google Chrome latest version
Upvotes: 1
Views: 1333
Reputation: 184
If you want to access the device camera means you can use html input file like
<input type="file" name="image" accept="image/*" capture>
.
Upvotes: 0