Advanced Photobooth Configuration

Beyond the two required settings for a <photobooth> there are several optional advanced settings. You can configure these using our Embed Sandbox by clicking on the link labled "Advanced Configuration" or by using data attributes on your own hand-rolled <photobooth>

Instance ID
Recording Name
Recording Description
Metadata
Mirror Camera Preview
Sources
Skip Zoom
Force Full Frame Images
Preroll Count

id

A unique identifier for this room (in case you have more than one on the page)
<photobooth id='myBooth' data-app-id='[YOUR_APP_UUID]'></photobooth>

data-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)
<photobooth id='myBoooth1' data-app-id='[YOUR_APP_UUID]' data-name='Billy Birthday Wish'></photobooth>

data-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)
<photobooth id='myBoooth1' data-app-id='[YOUR_APP_UUID]' data-description='Billy wishes grandma a very happy birthday during his soccer game.'></photobooth>

data-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)
<photobooth id='myBoooth1' data-app-id='[YOUR_APP_UUID]' data-metadata='{"user_id": 1234, "user_name": "Jon Doe"}'></photobooth>

data-mirror-preview

When set to false the photobooth will NOT horizontally flip the camera preview.
<photobooth id='myBoooth1' data-app-id='[YOUR_APP_UUID]' data-mirror-preview='true'></photobooth>

<photobooth id='myBoooth1' data-app-id='[YOUR_APP_UUID]' data-sources='["record", "upload", "sms"]'></photobooth>

data-skip-zoom

By default the photobooth will display pan/zoom options if a file is selected with a different aspect ratio than target. Set this to true to bypass this step.
<photobooth id='myBoooth1' data-app-id='[YOUR_APP_UUID]' data-skip-zoom='false'></photobooth>

data-force-full-frame

Scale and crop images that don't match the target aspect ratio (uploded images) so that the entire frame is filled (no padding)
<photobooth id='myBoooth1' data-app-id='[YOUR_APP_UUID]' data-force-full-frame='false'></photobooth>

data-pre-roll-length

Number of seconds to count down before recording starts
<photobooth id='myBoooth1' data-app-id='[YOUR_APP_UUID]' data-pre-roll-length='5'></photobooth>