Hyperbook Documentation

YouTube

Requires a network connection. Videos are streamed from youtube-nocookie.com and cannot be bundled with the hyperbook build output. This element will not work in offline or network-restricted environments.

The YouTube directive uses the special #id syntax to pass the video id. The text inside [] is used as the iframe title.

Attributes

Attribute Description Default
#<video-id> YouTube video id, for example #LXb3EKWsInQ -
::youtube[Costa Rica]{#LXb3EKWsInQ}
YouTube

Create Shareable URL

Select Sections

✎ GitHub© Copyright 2026 by OpenPatch