HTML media capture
Limited availability
The capture
HTML attribute for <input type="file">
elements allows the user to capture media using the device's camera or microphone.
To learn more, see
HTML attribute: capture at MDN.
Compatibility (view on caniuse.com)
- Chrome ❌ Search for bugs Search for Chromestatus entry
- Chrome Android 25 Released on 2013-02-27
- Edge ❌ Search for bugs Search for Chromestatus entry
- Firefox ❌ Search for bugs Search for standards position
- Firefox for Android 79 Released on 2020-07-28
- Safari ❌ Search for bugs Search for standards position
- Safari on iOS 10 Released on 2016-09-13
Specifications
- HTML Media Capture, from Devices and Sensors Working Group (W3C).