02 / IT · Analysis
VegaStack adds range comments to its media players
Users can drag the playback bar to select the passage they want to comment on.
VegaStack added range comments to the audio and video players in its VegaStack Design system on 29 Nov 2026. The company said in its changelog that the feature is part of version 0.146.0 of @vegastack/ui, its UI component package.
The video player first gained timeline markers on 28 Nov 2026. They appeared as dots above the playback bar and showed their labels when the pointer moved near them. A later release that day made the markers clickable so viewers could jump to the marked times, and markers now show comment counts and reaction emoji.
The audio player gained skipRanges, a setting already available in the video player, for skipping selected passages in recordings being edited. VegaStack said the setting is for previewing edits before rendering and cannot be used to prevent access to the skipped content.
Choosing where comments appear on the playback bar
Hovering over the playback bar reveals a button for commenting at the point under the pointer, while pressing C starts a comment at the current playback position. Captions are still available through their own button.
Developers integrating comments receive the selected time and the screen coordinates for positioning the comment box through onCommentAt. When a user drags across the playback bar, onRangeChange passes the selected range. Hovering over a range comment's marker highlights the passage it covers.
Markers too close together to display separately form a group. Opening the group reveals a list of its comments and reactions, each with its own timestamp. A comment marker shows up to two author avatars, with a count for any remaining authors.
As playback approaches a skip range, the audio player briefly goes silent and jumps to the end of the range. It skips immediately if playback starts inside the range or if a new range covers the current position. The playback bar, time display and keyboard navigation use the timeline with those passages removed.
The width of the player determines how many bars the audio waveform can draw, and each bar represents the loudest point in its span. Bars stay at least as wide as the gaps between them, even when the player draws on stored volume peaks from a long recording.
A follow-up widened the waveform bars from 2px to 3px and increased the gaps from 1px to 2px. It lowered the waveform from 48px to 32px to align it with the playback buttons. Version 0.146.2 then fixed AudioWaveform so its bars fit within the card's padding.