v1.8.1 — Inline Video Placement, Layout & i18n Fixes
AnvilWiki v1.8.1 — 内联视频自由定位(来自首个真实项目 dogfooding 反馈)。
Fixed / Added
<Video>MDX component: render a YouTube player wherever the author places it in the body. Frontmattervideosbecomes the structured-data registry (VideoObject JSON-LD) + bottom fallback; inline IDs auto-dedupe from the fallback. 100% backward compatible.- Shared
LazyYouTubeplayer: event-delegation singleton script (no per-instance duplication), keyboard accessible, broken-thumbnail fallback to a text link (ytimg-unreachable regions). - Article layout: bottom videos moved up after the body; Comments moved to the very end.
- i18n: "On this page" / "Quick Answer" now from locale JSON.
Full Changelog: v1.8.0...v1.8.1