# Podcast embed

External component: a Spotify episode player for a podcast article. Configure it with the `data` field.

## Fields & Schema

| Field | Type | Required | Notes |
|-------|------|----------|-------|
| `externalComponentType` | Symbol | Yes | Must be `"Podcast embed"` |
| `heading` | Symbol | No | Shown above the player |
| `data.src` | string (in Object field) | Yes | Spotify embed URL, `https://open.spotify.com/embed/...`. Any other host renders nothing. |
| `data.title` | string | No | Accessible iframe title. Defaults to "Podcast episode". |
| `data.height` | number | No | `152` (compact, default) or `352` (large). |

## Usage

```bash
cms-edit add "Podcast embed" --content-type externalComponent --target content
cms-edit set @ref data --json '{"src":"https://open.spotify.com/embed/episode/7EdUViwmR7vT4qndR1sxkr?utm_source=generator","title":"Episode title"}'
cms-edit save
```

Use the "Share → Embed episode" URL from Spotify and keep only the `src` value.
