# Adaptive Card sample: Media

- id: `media`
- Adaptive Card schema version: 1.5

Demonstrates the Media element — video playback with a direct MP4 source. ⚠ YouTube URLs sont bloquées par CORS (pas de Access-Control-Allow-Origin). Utiliser une URL MP4 directe accessible publiquement.

## Elements

- `Media` — sources: [{url: youtube, mimeType: video/mp4}]
- `TextBlock` — size: Large, weight: Bolder
- `TextBlock` — spacing: None

## Card JSON

```json
{
  "type": "AdaptiveCard",
  "version": "1.5",
  "body": [
    {
      "type": "Media",
      "sources": [
        {
          "url": "https://www.w3schools.com/html/mov_bbb.mp4",
          "mimeType": "video/mp4"
        }
      ]
    },
    {
      "type": "TextBlock",
      "text": "Jacob Collier – The Audience Choir",
      "size": "Large",
      "weight": "Bolder",
      "wrap": true
    },
    {
      "type": "TextBlock",
      "spacing": "None",
      "text": "7000-strong audience choir at Sydney's ICC Arena",
      "wrap": true
    }
  ]
}
```
