← Commit history
Publish 0.4.8
3 files changed
+12−16
package.json+2−1@@ -1,7 +1,8 @@ { "slug": "adom-video-player", "type": "app",- "version": "0.4.7",+ "version": "0.4.8",+ "changelog": "0.4.8: skill cleanup: a shorter description, the display section points to the installed hydrogen-webview and hydrogen-pup skills (hdbw is now hbw), and publishing a video to the wiki points to adom-video-post.", "title": "Adom Video Player", "brief": "Show any video in a real player: seek, scrub, frame step, chapters. One command, no hand-rolled servers.", "summary": "When an AI shows you a video or audio file, it plays here: a shared server that answers HTTP Range requests, so the timeline seeks, in the same YouTube-style player as the wiki's ::adom-video widget, with YouTube's shortcuts, chapters, captions, frame stepping and auto-reload when the file is re-rendered.",
page.json+3−2@@ -1,7 +1,7 @@ { "slug": "adom-video-player", "type": "app",- "version": "0.4.7",+ "version": "0.4.8", "title": "Adom Video Player", "brief": "Show any video in a real player: seek, scrub, frame step, chapters. One command, no hand-rolled servers.", "summary": "When an AI shows you a video or audio file, it plays here: a shared server that answers HTTP Range requests, so the timeline seeks, in the same YouTube-style player as the wiki's ::adom-video widget, with YouTube's shortcuts, chapters, captions, frame stepping and auto-reload when the file is re-rendered.",@@ -100,5 +100,6 @@ }, "visibility": { "public": true- }+ },+ "changelog": "0.4.8: skill cleanup: a shorter description, the display section points to the installed hydrogen-webview and hydrogen-pup skills (hdbw is now hbw), and publishing a video to the wiki points to adom-video-post." }
skills/adom-video-player/SKILL.md+7−13@@ -2,15 +2,9 @@ name: adom-video-player user-invocable: true description: >-- The standard way to SHOW a user any video or audio file (mp4, webm, mov, mkv, mp3, wav): adom-video play <file>- opens it in a Hydrogen webview tab (or pup) with a real player whose timeline seeks, plus keyboard control,- frame stepping, speeds, chapters, a library, and auto-reload when the file is re-rendered. Use it INSTEAD of- writing a quick `python -m http.server`, `npx serve`, or any one-off server: those ignore HTTP Range requests,- so the user cannot jump around in the video (the most common complaint). Trigger words: show me the video,- play the video, play this mp4, open the recording, preview the render, watch the draft, video in webview, video- in pup, serve a video file, temporary server for a video, can't scrub, cannot seek, timeline does not work,- jump around in the video, range requests, 206 partial content, audio player, play the narration, frame step,- video chapters, adom-video.+ Show a user any video or audio file in a real, seekable player: adom-video play <file> opens it+ in a Hydrogen webview tab (or pup). Use instead of a one-off http.server, and when asked to show+ me the video, play this mp4, preview the render, or when a video can't scrub. --- # adom-video: show a video the user can actually scrub@@ -64,11 +58,11 @@ the same time. Run `play` again only to change the title or chapters. ## Displaying this app (REQUIRED, read before showing anything) To SHOW a video, use `adom-video play` (it opens the proper Hydrogen webview tab itself). For manual display,-FIRST load the `webview` skill (adom-workspace-control) and follow it.+FIRST load the `hydrogen-webview` skill and follow it. - **NEVER open this app in VS Code's "Simple Browser"**: not a webview in the Adom ecosystem, no live channel, no console read-back, no AI drivability. Using it is a bug.-- Surfaces: **wv**, the Hydrogen webview panel (`webview` skill; the default), **pup** (`pup` skill),- the user's **real signed-in browser** (Adom browser extension), and **hdbw**, Hydrogen's standalone browser+- Surfaces: **wv**, the Hydrogen webview panel (`hydrogen-webview` skill; the default), **pup** (`hydrogen-pup` skill),+ the user's **real signed-in browser** (Adom browser extension), and **hbw**, Hydrogen's standalone browser window. Simple Browser is NEVER one of them. - Never cover the VS Code pane: the player opens in another panel. @@ -76,5 +70,5 @@ FIRST load the `webview` skill (adom-workspace-control) and follow it. - The server binds 127.0.0.1 on an automatic port, serves ONLY registered files, and exits after 24 h idle. - One server per container; `play` restarts it automatically when the package version changed.-- Publishing a video to a wiki page is a different job: see `demo-video-publishing`. The wiki serves files with+- Publishing a video to a wiki page is a different job: see the `adom-video-post` skill. The wiki serves files with Range support already.