Camera Code for Webpage

Is there code I can use so that when a user browses a page on my website the camera is activated and they can take a picture?
LVL 12
Nathan RileyFounderAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
DreammonkeyConnect With a Mentor Commented:
I presume you want to target tablets that have a camera built in?

This should just work out of the box when you design a basic html form containing at least one input of type "file"

<form method="post" enctype="multipart/form-data">
<input type="file"/>
</form>

Open in new window

0
 
Nathan RileyFounderAuthor Commented:
Ah, didn't know it was something so simple :)  Thanks!
0
 
Ray PaseurCommented:
There might be a little more to it...  This link seems spot on.
https://coderwall.com/p/iwij9g
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.