Repository navigation
Claude/audio video display - #30
Open
vanatteveldt wants to merge 3 commits into
Open
vanatteveldt wants to merge 3 commits into
vanatteveldt wants to merge 3 commits into
Conversation
vanatteveldt
commented
Dec 6, 2026
Member
- Add ability to add audio/video links similar to image
- Add image/audio/video column types which render correctly when adding to body
A player for the media file at an https (or data:audio/video) URL in a unit field: controls, no autoplay, preload metadata; a link it can't play shows a note. Its controls don't swipe the card (data-no-swipe). Editor highlighting, completions and Insert menu entries; help, client docs and CHANGELOG. The CSP already allowed media-src https: and data:. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Text that must be an https link (or a data: URL of that kind) to such a file: checked on upload and on retyping (valueMisfit), suggested for a CSV column of links by their extension (mediaKindOfUrl). POST /units takes the types of new link columns in fields, since their values can't tell. The simple layout puts these fields in the body as ::image, ::audio or ::video, not in the title or byline, and reads such a template back. mediaUrl moves to contracts (media.ts), without URL: a pattern. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The stored types (image, audio, video) stay as the API has them; the type menus, badges, the unit dialog and the layout sketch say what the values are: links, not files. Help follows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.