Last Updated: February 25, 2016
·
1.318K
· guidefreitas

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">

2 Responses
Add your response

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 ·