Video recording

Single input

no capture

<input type="file" accept="video/*" >

capture as boolean (camcorder is preferred)

<input type="file" accept="video/*" capture>

capture as string (camcorder is preferred)

<input type="file" accept="video/*" capture="camcorder">

capture as string (filesystem is preferred)

<input type="file" accept="video/*" capture="filesystem">

capture part of accept (camcorder is preferred)

<input type="file" accept="video/*;capture=camcorder">

Multiple inputs

no capture

<input type="file" accept="video/*" multiple>

capture as boolean (camcorder is preferred)

<input type="file" accept="video/*" multiple capture>

capture as string (camcorder is preferred)

<input type="file" accept="video/*" multiple capture="camcorder">

capture as string (filesystem is preferred)

<input type="file" accept="video/*" multiple capture="filesystem">

capture part of accept (camcorder is preferred)

<input type="file" accept="video/*;capture=camcorder" multiple>

Audio recording

Single input

no capture

<input type="file" accept="audio/*" >

capture as boolean (mic is preferred)

<input type="file" accept="audio/*" capture>

capture as string (mic is preferred)

<input type="file" accept="audio/*" capture="microphone">

capture as string (filesystem is preferred)

<input type="file" accept="audio/*" capture="filesystem">

capture part of accept (mic is preferred)

<input type="file" accept="audio/*;capture=microphone">

Take a snapshot

Single input

no capture

<input type="file" accept="image/*" >

capture as boolean (camera is preferred)

<input type="file" accept="image/*" capture>

capture as string (camera is preferred)

<input type="file" accept="image/*" capture="camera">

capture as string (filesystem is preferred)

<input type="file" accept="image/*" capture="filesystem">

capture part of accept (camera is preferred)

<input type="file" accept="image/*;capture=camera">

Snapshot + Video Together

Single input

no capture

<input type="file" accept="image/*,video/*" >

capture as boolean (camera is preferred)

<input type="file" accept="image/*,video/*" capture>

capture as string (camera is preferred)

<input type="file" accept="image/*,video/*" capture="camera">