Repository navigation
[3/3] feat: tell viewers when html5 playback is buffering - #274
Merged
Merged
Conversation
dazzatronus
force-pushed
the
derk/html5-progressive-3-buffering
branch
from
October 29, 2026 01:07
cfdf787 to
6ca7f44
Compare
dazzatronus
force-pushed
the
derk/html5-progressive-3-buffering
branch
from
October 29, 2026 01:13
6ca7f44 to
0e7d9d3
Compare
github-actions Bot
pushed a commit
that referenced
this pull request
Oct 29, 2026
# [2.30.0](v2.29.5...v2.30.0) (2026-10-29) ### Bug Fixes * give html5 and rich-caption clips their own look on the timeline ([#275](#275)) ([7a7eb39](7a7eb39)) ### Features * hold the nearest baked html5 frame while playing ([#272](#272)) ([4f50166](4f50166)) * play html5 frames as they bake ([#271](#271)) ([7e837e6](7e837e6)) * tell viewers when html5 playback is buffering ([#274](#274)) ([65098cf](65098cf))
|
🎉 This PR is included in version 2.30.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
When a playing html5 clip outruns its bake, motion stutters, and nothing on screen said why.
While playback stutters, a small "Buffering" label with a spinner now sits in the video's bottom-left corner. It appears after half a second of stutter. It goes after 1.5 s of smooth playback, or straight away when playback pauses, everything has loaded, or the video is out of view. A clip counts as stuttering while the playhead's frame isn't in its bake yet.
The label keeps only its own display state. The canvas passes it
Edit.isPlaybackBuffering()on every tick, the same way the timeline reads bake progress. It's DOM above the canvas, so exports never include it, and it takes no pointer events. It's hidden from screen readers, which already hear the toolbar's "Preparing smooth playback".Squash subject:
[3/3] feat: tell viewers when html5 playback is buffering. This cuts a minor release.Verify:
npx jest tests/buffering-notice.test.ts tests/html5-player.test.ts -t "uffering". Then press play straight after opening an edit with html5 clips. "Buffering" should appear in the video's corner while it stutters and go once playback is smooth.Risk: low. The change is UI only.