Video recording

Single input

Record video or select existing video

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

Use capture to force user to record on the spot

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

Use capture="user" to force user to record on the spot using the front/selfie camera

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

Use capture="environment" to force user to record on the spot using the rear camera

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

Multiple inputs

Record videos or select existing videos

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

Use capture to force user to record on the spot

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

Audio recording

Record audio or select existing audio files

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

Use capture to force user to record on the spot

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

Take a photo

Take a photo or select an existing one

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

Use capture to force user to take a new photo

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

Photo + Video Together

Take a photo/video or select an existing one

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

Use capture to force the user to take a new photo or video

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

Test looping in Javascript

Adam Marshall

a simple memo message
Wednesday, December 05, 2018 2:17:46 PM