Adom Wiki
Public Made by Adomby adom
How the Adom Wiki (wiki.adom.inc) works and how to drive it with the adom-wiki CLI: the two storage layers (git page repo vs package registry), hosting source by pushing files (not a tarball), making packages, cutting per-platform releases, and the three-tier skill layout (user skills ship, dev-skills/ and publish-skills/ stay source-only). adom-wiki is the current tool; adompkg is deprecated. Read this first before publishing or installing.
README: allow embedding YouTube videos (sandbox blocks the player)
Request: let a page README embed a YouTube video.
Today neither README mode can:
- README.md: the sanitizer strips
<iframe>. - README.html: the frame is created (CSP has
frame-src https:), but the README document is sandboxed withoutallow-same-origin, and nested frames inherit that, so YouTube's player renders a black box.
Tested 2026-10-03 on a private probe page with an unlisted and a public video, on youtube-nocookie.com and youtube.com: black in both README modes. The same unlisted embed plays on a plain page, and goes black on a plain page once given the wiki's sandbox attribute (allow-scripts allow-downloads allow-popups allow-popups-to-escape-sandbox).
Why it matters: we want product videos hosted on YouTube (view counts, quality) and shown on the page they belong to, instead of uploading a heavily compressed copy into the page repo.
Suggested fix, safest first:
- A first-party markdown tag, e.g.
::youtube{id="VIDEO_ID"}, rendered by the wiki as a non-sandboxed<iframe src="https://www.youtube-nocookie.com/embed/VIDEO_ID">(the YouTube origin is isolated from the wiki origin anyway). - Or allow
<iframe>in README.md for youtube-nocookie.com / youtube.com / player.vimeo.com only (sanitize-htmlallowedIframeHostnames), rendered outside the README sandbox.