HTML media capture
The capture HTML attribute for <input type="file"> elements allows the user to capture media using the device's camera or microphone.
Status
Limited availability
MDN documentation
Specifications
- HTML Media Capture, from Devices and Sensors Working Group (W3C).
Browser support (view on caniuse.com)
- Chrome ❌
- Chrome Android 25 Released on 2013-02-27
- Edge ❌
- Firefox ❌
- Firefox for Android 79 Released on 2020-07-28
- Safari ❌
- Safari on iOS 10 Released on 2016-09-13
Developer signals
- State of HTML 2025: system_capabilities/system_capabilities_pain_points question
- State of HTML 2024: reading_list/reading_list question
- State of HTML 2024: forms/forms_features question
- State of HTML 2024: features/all_features question
- State of HTML 2023: reading_list/reading_list question
- State of HTML 2023: forms/forms_features question
- State of HTML 2023: features/all_features question
Web Platform Tests (WPT)
View the latest WPT test results for this featureDeveloper signals
Votes: 0
If you want this feature to be available in all browsers, vote for it by adding a thumbs up reaction (👍) to this GitHub issue, and leave a comment with more information.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist