Text chat: inline video player and audio seek / playback rate #378

Open
opened 2026-11-13 00:23:36 +00:00 by charles · 0 comments
Owner

Found while building Text chat 22 (#272).

The original plays video attachments inline (EmbedVideo.tsx, VideoPlayer.tsx) and its audio card has a moving progress bar with seek and playback rate (InlineAudioPlayer.tsx). Text chat 22 draws a video as its poster with a play button that opens it in the browser, and the audio card's track does not move: the audio engine reports no playback position (PlaybackModel::position_ms is always 0, no seek or rate command).

Fix: position events and seek/rate commands for attachment clips in fluxer-core/fluxer-audio, then the moving track, seek and rate in widgets/message_content/audio.rs; a decoded-video path (the screen-share frame bus could carry it) for inline video.

Found while building Text chat 22 (#272). The original plays video attachments inline (`EmbedVideo.tsx`, `VideoPlayer.tsx`) and its audio card has a moving progress bar with seek and playback rate (`InlineAudioPlayer.tsx`). Text chat 22 draws a video as its poster with a play button that opens it in the browser, and the audio card's track does not move: the audio engine reports no playback position (`PlaybackModel::position_ms` is always 0, no seek or rate command). Fix: position events and seek/rate commands for attachment clips in `fluxer-core`/`fluxer-audio`, then the moving track, seek and rate in `widgets/message_content/audio.rs`; a decoded-video path (the screen-share frame bus could carry it) for inline video.
charles added this to the Text chat milestone 2026-11-13 00:23:36 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#378
No description provided.