> From the [Strife developer docs](https://strife.app/docs/reference/field-reference/fields.video). Every page is listed in [llms.txt](https://strife.app/docs/llms.txt).

# fields.video()

Video field. Stored shape isn't finalized yet, so the read type is unknown.

Video field. Maps to editor `{ name: 'str-video', type: 'video' }`.

> [!WARNING]
> The persisted value shape isn't strongly specified by the underlying editor component (it collects a video URL / embed, but the exact stored shape isn't finalized) — the generated read type is `unknown`. Narrow it at the call site. This may be tightened in a future minor version once the stored shape is finalized.

## Example

```ts
fields.video({
  label: 'Promo video',
})
```

## Options

| Option         | Type      | Required | Description                                                |
| -------------- | --------- | -------- | ---------------------------------------------------------- |
| `label`        | `string`  | Yes      | Label shown to editors in Strife Studio.                   |
| `description`  | `string`  | No       | Tooltip shown to editors.                                  |
| `searchable`   | `boolean` | No       | Include in the team's search index.                        |
| `filterable`   | `boolean` | No       | Allow filtering content lists by this value.               |
| `protected`    | `boolean` | No       | Restrict editing to users with the appropriate permission. |
| `propertyName` | `string`  | No       | Override the stored property name.                         |

No `localizable` option, and no video-specific options beyond the common set — this builder is a thin wrapper today.

## Output type

`unknown`.

## See also

* [Video](https://strife.app/docs/reference/fields/video.md) — the same editor, documented from the Strife Studio UI side.
