Web platform features explorer

HTML media capture

Limited availability
Tags: api html

The capture HTML attribute for <input type="file"> elements allows the user to capture media using the device's camera or microphone.

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