Upload images and videos in iOS 6 Safari
With the new iOS 6 we are now able to use File API and HTML Media Capture API to upload images and videos in a web page using Safari.
Image Capture and Upload
<input type="file" accept="image/*" capture="camcorder">
Video Capture and Upload
<input type="file" accept="video/*" capture="camcorder">
Audio Capture and Upload
<input type="file" accept="audio/*" capture="microphone">
Written by Guilherme Defreitas
Related protips
2 Responses
You've included "video/*" for both the image and video capture snippets.
For images it should be "image/*". Just thought I'd point that out incase anyone got confused.
over 1 year ago
·
Thanks. Fixed!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ios
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#