YouTube

A YouTube video. The preview shows a poster and loads the player only on click, so a page with videos stays light. youtubeId(link) is exported for your own preview.

usage.ts
import { Editor, Preview } from '@atom-forge/brickee';
import { youtube } from '@atom-forge/brickee/plugins';

const plugins = [youtube];
// <Editor bind:value {plugins} />  ·  <Preview blocks={value} {plugins} />

Markdown form: a link to the video, titled.


Live

Paste a video link or id into the field; the preview loads the player on click.

Me at the zoo