ID:WORK-018Status:pending
Build video Rune
Priority:mediumComplexity:unknownSource:SPEC-008
video Runef2b3512Self-hosted video player with poster image, captions, subtitles, and responsive sizing. For video that you host yourself — use embed for YouTube/Vimeo. Schema.org: VideoObject.
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
src | String | — | Yes | Video file URL |
poster | String | — | No | Poster/thumbnail image URL |
captions | String | — | No | WebVTT captions file URL |
subtitles | String | — | No | WebVTT subtitles file URL |
aspect | String | '16:9' | No | Aspect ratio: 16:9, 4:3, 1:1, 9:16 (vertical) |
autoplay | Boolean | false | No | Autoplay (muted) |
loop | Boolean | false | No | Loop playback |
title | String | — | No | Video title |
duration | String | — | No | ISO 8601 duration |
{% video src="/video.mp4" poster="/thumb.jpg" /%}Video<figure>src, poster, captions, subtitles, aspect, autoplay, loop, title, durationplayer (video element), caption (figcaption)runes/media/src/tags/video.tsrunes/media/src/config.tspackages/lumina/styles/runes/video.csspackages/lumina/index.cssrf-video) for play controls, caption track loading, responsive sizing — follows Diagram/Sandbox/Map patternVideoObjectrunes/media/test/tags/video.test.tsNone — standalone web component.