Files
openmotion/web/inline-video.css
MasonJJ 0f0e8a7210 Show chat video only after final MP4 delivery (#384)
* Show chat video only after final MP4 delivery

* test(distribution): accept blob origin in packaged inline player CSP

The final-video player decodes component-private MP4 data into a browser-owned
Blob URL for seeking and replay, so the packaged inline player resource declares
both `data:` and `blob:` origins. tests/inline-video.test.ts and
docs/inline-video.md were updated with that contract, but the packaged
distribution smoke test still required `data:` only and failed the
Distribution regression lane before exercising any Tool.

Align the packaged assertion with the shipped resource metadata.

Generated-By: looper 0.16.2 (runner=fixer, agent=pi)

---------

Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: open-design-crew[bot] <299007234+open-design-crew[bot]@users.noreply.github.com>
2026-11-15 00:42:41 +08:00

3 lines
971 B
CSS

:root{color-scheme:light dark;font-family:var(--motion-font-sans)}*{box-sizing:border-box}body{margin:0;background:transparent;color:var(--motion-text)}main{max-width:760px;overflow:hidden;border:1px solid var(--motion-border);border-radius:var(--motion-radius-md);background:var(--motion-panel)}header,footer{display:flex;align-items:center;gap:12px;padding:14px 16px;font-size:13px}header strong{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header span,footer .duration{margin-left:auto;color:var(--motion-dim);font-size:12px;white-space:nowrap}.screen{aspect-ratio:16/9;position:relative;background:var(--motion-bg)}video{width:100%;height:100%;object-fit:contain}button{border:1px solid currentColor;border-radius:var(--motion-radius-sm);background:transparent;color:inherit;padding:4px 8px;cursor:pointer;font:inherit;font-size:12px;white-space:nowrap}[hidden]{display:none!important}
:where(.status){min-width:0;overflow-wrap:anywhere}