# Testimonial Video

> Video testimonials: a large featured clip with a pull-quote beside three more. Picking one from the list trades places with the featured clip as its poster morphs into the big frame. Play opens an in-card player with timed captions, a seekable progress bar and a transcript you can jump around in.

- Slug: `testimonial-video`
- Category: [Testimonials](https://www.assembli.design/category/testimonials.md)
- Type: block
- Tags: social-proof, video, customer-stories, player, transcript, shared-layout
- npm dependencies: motion, lucide-react
- shadcn/ui dependencies: none
- Live preview: https://www.assembli.design/preview/testimonial-video
- Page: https://www.assembli.design/components/testimonial-video

![Testimonial Video preview](https://www.assembli.design/thumbnails/testimonial-video-light.png)

## Props

Other props pass through to the root element.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `videos` (required) | `VideoTestimonial[]` |  |  |
| `defaultIndex` | `number` | `0` | Index of the video featured first. |
| `defaultTranscript` | `boolean` | `false` | Show the transcript panel open from the start. |

## Install

One-time setup (needs a subscription):

1. Add the registry to the project's `components.json`: `{"@assembli":{"url":"https://www.assembli.design/r/{name}.json","headers":{"Authorization":"Bearer ${ASSEMBLI_API_KEY}"}}}` (merge into `"registries"`).
2. Put an API key from https://www.assembli.design/account in `.env.local` as `ASSEMBLI_API_KEY=asm_…`.

Then install with the shadcn CLI (writes `components/testimonial-video/testimonial-video.tsx` and installs dependencies):

```bash
npx shadcn@latest add @assembli/testimonial-video
```

Registry item JSON: https://www.assembli.design/r/testimonial-video.json (send `Authorization: Bearer <api key>`)

## Code

> Component source needs an Assembli subscription ($12/month or $96/year) and an API key sent as `Authorization: Bearer <key>`. To get one without copying anything, POST https://www.assembli.design/api/agent/login (or call the MCP tool connect_account), show the user the link it returns, and poll https://www.assembli.design/api/agent/token for the key. Or subscribe at https://www.assembli.design/pricing and create a key at https://www.assembli.design/account.
