Video

Embedded YouTube and Vimeo videos

Last updated March 17, 2026

Embed videos from YouTube or Vimeo with a simple code fence. Videos render as responsive iframes with lazy loading and privacy-enhanced mode.

Usage

Use the youtube or vimeo code fence with the video ID as content:

```youtube
dQw4w9WgXcQ
```
```vimeo
123456789
```

The video ID is the part after watch?v= for YouTube or after vimeo.com/ for Vimeo.

Examples

YouTube

Vimeo

API reference

Video properties
PropertyTypeDefaultDescription
platform"youtube" \| "vimeo"requiredCode fence language determines the platform
idstringrequiredVideo ID (content of the code fence)

Search Documentation

Search for pages and content