Mobile Web

HTML Media Capture

This feature is supported in mobile applications only.

Media capture uses the capture attribute of the HTMLInputElement interface to activate features, such as camera or microphone, to enable direct media capture when the user is uploading a file.

The following media formats can be used with the capture attribute:

  • filesystem

    Activates the device file picker.

  • camera

    Activates the device camera.

  • camcorder

    Activates the device video camera.

  • microphone

    Activates the device sound recorder.

Go to top