> For the complete documentation index, see [llms.txt](https://docs.thunkable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thunkable.com/snap-to-place/video-recorder.md).

# Video Recorder

Record videos to play in your app or save to the cloud.

## Record a Video

You can record a timed video, where the app records for a set amount of time, or an untimed video, where the user can choose how long to film for.

You can display the videos you record with the [Video](/snap-to-place/video.md) component. You can also save you recorded videos to the cloud with our [Media DB](/snap-to-place/media-db.md) component. Once you have saved a video to the cloud, you can store the URL as a [cloud variable](/snap-to-place/variables.md#cloud-variables) or in an [Airtable DB](/snap-to-place/spreadsheet.md) to make it accessible through the app on other devices.

## Functions

### Timed Video Recording

![](https://689802330-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MGrpexQeoupeChRB8ki%2F-MGryKa2eRQ8CYcuyFzv%2Ftimedrecording.png?alt=media\&token=f001c5f4-ad73-4973-ba88-11d02abd73fd)

| Input   | Data Type | Function                                  |
| ------- | --------- | ----------------------------------------- |
| seconds | Integer   | Specify a number of seconds to record for |

| Output     | Data Type                                         | Function                                       |
| ---------- | ------------------------------------------------- | ---------------------------------------------- |
| video file | <p>web: Ogg</p><p>Android: MP4</p><p>iOS: MOV</p> | Returns the recorded video                     |
| error      | text                                              | If there is an error, returns an error message |

### Untimed Video Recording

![](https://689802330-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MGrpexQeoupeChRB8ki%2F-MGrx1IdYJYU5-JvTS7M%2Funtimedrecording.png?alt=media\&token=78e7ad9b-2dda-45d4-a1c8-5df067b0edd6)

| Output     | Data Type                                         | Function                                       |
| ---------- | ------------------------------------------------- | ---------------------------------------------- |
| video file | <p>web: Ogg</p><p>Android: MP4</p><p>iOS: MOV</p> | Returns the recorded video                     |
| error      | text                                              | If there is an error, returns an error message |

## Properties

### Set Camera

![](https://689802330-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MGrpexQeoupeChRB8ki%2F-MGrulft27tq_bDyA1aH%2Fvideorecorderback.png?alt=media\&token=82468eda-75ab-4dd8-8d83-aa68cb547540)

Select a camera to film with. You can record with the front or back camera of your device.

### Show Current Camera

![](https://689802330-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MGrpexQeoupeChRB8ki%2F-MGrwFJZngH8UReavRCy%2Fwhichcamera.png?alt=media\&token=aa9c6ff1-8384-4660-a1d8-d6d2acf2b5d7)

Returns the camera currently being used to record. Will return `front` or `back`.
