CameraTag App UUID

The UUID for the CameraTag app that this camera should publish to
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-appUuid=''></camera>

Instance ID

A unique identifier for this camera The default value is "myCamera"
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-id='myCamera'></camera>

Recording Name

A human friendly name for the video to be recorded by this camera. This will be visible in your CameraTag admin and on YouTube (if you have YouTube export enabled)
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-name='Billy Birthday Wish'></camera>

Recording Description

A description for the video to be recorded by this camera. This will be visible in your CameraTag admin and on YouTube (if you have YouTube export enabled)
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-description='Billy wishes grandma a very happy birthday during his soccer game.'></camera>

Metadata

A JSON string to be stored along with the video. This data will be made available in the server callback and the REST API. **Value must be validly formatted JSON (using double quotes)
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-metadata='"{\"user_id\": 1234, \"user_name\": \"Jon Doe\"}"'></camera>

Sources

What media sources are available to the user The default value is "record,upload,sms" Acceptable values are 'record', 'upload', 'sms'
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-sources='["record","sms"]'></camera>

Default Mobile Camera

Which of the cameras on a mobile device should be used by default Acceptable values are '', 'environment', 'user'
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-facingMode='environment'></camera>

Preroll Count

Number of seconds to count down before recording starts The default value is "3"
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-preroll='5'></camera>

Max Length

The max length (in seconds) of videos recorded (does not apply to uploads) The default value is "30"
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-maxLength='30'></camera>

Min Length

The min length (in seconds) of videos recorded (does not apply to uploads) The default value is "3"
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-minLength='3'></camera>

Prompts

Prompts are text prompts that display to the user as they are recording. Each prompt can have a max and min response time.
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-prompts='[{"text":"What is your name","minLength":5,"maxLength":20}]'></camera>

Mobile Recording URL

Sets the URL for the QR code used for mobile recording
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-mobileRecordingUrl='https://www.mysite.com/record?user_id=123'></camera>

Recording Stack

Manually select the recording stack CameraTag will use (leave blank to have CameraTag auto-select based on client capabilities) The default value is "auto" Acceptable values are 'auto', 'webrtc', 'mediarecorder', 'mobile'
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-defaultStack='mediarecorder'></camera>

Permitted File Extensions

When uploading what file types should be allowed The default value is "mov,mp4,webm,flv,mv4,mov,avi,wmv,mpeg,mpg,m4v,wav,mp3,aif,aiff,aifc" Acceptable values are 'mov', 'mp4', 'webm', 'flv', 'mv4', 'mov', 'avi', 'wmv', 'mpeg', 'mpg', 'm4v', 'wav', 'mp3', 'aif', 'aiff', 'aifc'
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-permittedExtensions='["mov", "mp4", "webm", "flv", "mv4", "mov", "avi", "wmv", "mpeg", "mpg", "m4v", "wav", "mp3", "aif", "aiff", "aifc"]'></camera>

Flip Camera Preview

Flpe the recording preview horziontally to it's easier for the user to orient themsleves The default value is "true"
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-flipRecordPreview='true'></camera>

Screen Sharing

Default to sharing the user's screen (instead of a webcam)
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-screenShare='true'></camera>

Disable Audio Processing

Turn off advanced audio processing such as gain control and echo cancelation.
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-disableAudioProcessing='true'></camera>

Skip Preview

Skip the video review step and automatically publish after stopping
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-skipPreview='true'></camera>

Skip Hair Check

Skip the haircheck screen and record immediately
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-skipHairCheck='true'></camera>

Video Bit Rate

The target bit rate for the video stream (in bits per second) The default value is "1200000"
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-videoBitRate='1200000'></camera>

Audio Bit Rate

The taregt bit rate for the audio stream (in bits per second) The default value is "128000"
HTML
Vanilla JS
React JS
<camera id='MyRecorder1' data-app-id='[YOUR_APP_UUID]' data-audioBitRate='128000'></camera>