23

I understand that it is not quite possible to access webcam through HTML. So how about on the iPhone? Is it possible?

felixlaumon
  • 794
  • 3
  • 9
  • 15

3 Answers3

51

Starting with iOS6, You are able to access the Camera, and Photos using the<input type="file" /> input

Shay B.
  • 873
  • 1
  • 7
  • 9
10

Take a look at: http://code.google.com/p/iphone-photo-picker/

This was done by the NextStop guys, and is open sourced under MIT license. It basically uses an URL scheme to allow you to redirect a web user to a tiny native app long enough to take the picture, and then back to your web app to continue their experience.

I haven't used it yet, but I saw them demo it in a webcast and plan on using it myself when we get our mobile site done enough to incorporate it.

Joel Clark
  • 549
  • 2
  • 14
3

No. You can access the phone through the native API, but not via a web app.

Jason
  • 86,222
  • 15
  • 131
  • 146