# app.tempomusic.embed.video

> Published by [lexicons.tempomusic.fan](https://lexicon.garden/identity/did:plc:pxsuqmultto34oks44m2lgxm)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:pxsuqmultto34oks44m2lgxm/app.tempomusic.embed.video)
- [Documentation](https://lexicon.garden/lexicon/did:plc:pxsuqmultto34oks44m2lgxm/app.tempomusic.embed.video/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:pxsuqmultto34oks44m2lgxm/app.tempomusic.embed.video/examples)

## Definitions

### `app.tempomusic.embed.video`

**Type**: `object`

Video embed. One video per post.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `alt` | `string` | Yes | Alt-text describing the video content for accessibility. Required. |
| `video` | `blob` | Yes |  |
| `captions` | `array` | No | Optional caption tracks (WebVTT) keyed by BCP-47 language tag, for accessibility. |
| `aspectRatio` | `ref` → `app.tempomusic.embed.defs#aspectRatio` | No |  |

### `app.tempomusic.embed.video#caption`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `file` | `blob` | Yes |  |
| `lang` | `string` (language) | Yes |  |

## Raw Schema

```json
{
  "id": "app.tempomusic.embed.video",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "video",
        "alt"
      ],
      "properties": {
        "alt": {
          "type": "string",
          "maxLength": 10000,
          "description": "Alt-text describing the video content for accessibility. Required.",
          "maxGraphemes": 1000
        },
        "video": {
          "type": "blob",
          "accept": [
            "video/mp4",
            "video/webm"
          ],
          "maxSize": 100000000
        },
        "captions": {
          "type": "array",
          "items": {
            "ref": "#caption",
            "type": "ref"
          },
          "maxLength": 20,
          "description": "Optional caption tracks (WebVTT) keyed by BCP-47 language tag, for accessibility."
        },
        "aspectRatio": {
          "ref": "app.tempomusic.embed.defs#aspectRatio",
          "type": "ref"
        }
      },
      "description": "Video embed. One video per post."
    },
    "caption": {
      "type": "object",
      "required": [
        "lang",
        "file"
      ],
      "properties": {
        "file": {
          "type": "blob",
          "accept": [
            "text/vtt"
          ],
          "maxSize": 20000
        },
        "lang": {
          "type": "string",
          "format": "language"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
