Recording video and voice notes
Chirai can build sites and apps where people record something: a 60-second pitch, a video answer to a question, a video CV, a testimonial, a voice note to a coach. Chirai uses its own tested recorder for this, the same on every build, so recording works on the first try on phones and computers.
How to ask for it
Say what people record, how long, and what happens next. For example:
Words Chirai recognises include *record a video / pitch / answer / testimonial*, *video pitch*, *video CV*, *voice note*, *voice message* and *audio message*. A camera shop or a "records" page doesn't turn recording on.
What the recorder does
- Asks for the camera and microphone, or only the microphone for a voice note, when the person presses *Start recording*. It never turns them on before that.
- Counts down 3-2-1, then records with a timer and a progress bar.
- Stops by itself at the time limit you asked for (60 seconds unless you say otherwise; up to 10 minutes).
- Shows the recording so the person can watch it, then *Send* or *Record again*.
- Sends it with a progress bar and saves it to the site's storage.
- Explains problems in plain words: camera blocked (and how to allow it), no camera found, the camera used by another app, or a browser that can't record. It always offers *or choose a file*, which on a phone opens the camera app.
On phones it records in the format the phone plays (MP4 on iPhone and Android). In apps it uses the phone's own camera and microphone, and the app asks for permission with a clear sentence that the App Store and Google Play accept.
Where recordings go
- Each recording is saved in your site's storage, in the recordings folder, under the person who recorded it.
- Only signed-in people can save a recording, so put the recorder on a page for members. Visitors who aren't signed in are asked to sign in first.
- Your site keeps the link to each recording in its own table (for example the pitch's *video_url*), so you see them in Manage site like any other record. Recordings play anywhere, including on the page that lists them.
- A file can be up to 50 MB. The recorder keeps a 60-second video well under that (about 15–20 MB).
In the preview
You can try recording in the Studio's preview. The first time, your browser asks for the camera. If the preview says the camera "can't be used inside this frame", open your preview's own address (*job-….preview.chirai.dev*) in a new browser tab and record there.
Until your site has its database, the recorder still records and plays back, then says *"It will be saved once this site has its database."*
Adding it to a site you already have
Ask IILA, for example *"Add a page where members record a 60-second video intro, and show the intros on the Members page."* IILA uses the same recorder. When you publish, Chirai allows the camera and microphone for your site. Sites that don't record keep them switched off.
If something doesn't work
| What you see | What to do |
|---|---|
| "Your camera and microphone are blocked for this site" | Click the lock icon next to the address, allow Camera and Microphone, and press Start recording again. |
| "can't be used inside this frame" | Open the page in its own tab. |
| "Sign in to send your recording" | Sign in, then record again. |
| "No camera was found" | Use a device with a camera, or choose a video file. |
| The recording won't send | Check the connection and press Send again. Over 50 MB? Record a shorter one. |