Skip to content

feat(viewer): video and audio preview via new MediaViewer#3014

Merged
abose merged 1 commit into
mainfrom
ai
Jul 7, 2026
Merged

feat(viewer): video and audio preview via new MediaViewer#3014
abose merged 1 commit into
mainfrom
ai

Conversation

@abose

@abose abose commented Jul 7, 2026

Copy link
Copy Markdown
Member

Video (mp4, m4v, webm, ogv, mov, mkv) and audio (mp3, wav, ogg, m4a, flac, aac, aif, aiff) files now open in a media preview pane modeled on ImageViewer, instead of raw text / binary error. Shows dimensions (video), duration and file size with native playback controls.

Content is loaded as a base64 data URI because blob: URLs are rejected by Chromium's media loader on the native app protocol. Files over the 16MB read cap and undecodable codecs show a friendly error message.

mp4 moved out of the 'Other Binary' language into a new 'video' language; m4a/flac/aac added to 'audio'.

Adds video/audio suites to mainview:MainViewFactory integ tests with tiny generated fixtures.

Video (mp4, m4v, webm, ogv, mov, mkv) and audio (mp3, wav, ogg, m4a,
flac, aac, aif, aiff) files now open in a media preview pane modeled on
ImageViewer, instead of raw text / binary error. Shows dimensions
(video), duration and file size with native playback controls.

Content is loaded as a base64 data URI because blob: URLs are rejected
by Chromium's media loader on the native app protocol. Files over the
16MB read cap and undecodable codecs show a friendly error message.

mp4 moved out of the 'Other Binary' language into a new 'video'
language; m4a/flac/aac added to 'audio'.

Adds video/audio suites to mainview:MainViewFactory integ tests with
tiny generated fixtures.
@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

@abose abose merged commit 8b4afef into main Jul 7, 2026
8 of 21 checks passed
@abose abose deleted the ai branch July 7, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant