• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 334
  • Last Modified:

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?
0
Nathan Riley
Asked:
Nathan Riley
1 Solution
 
DreammonkeyCommented:
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 RileyFounder/CTOAuthor 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

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now