feat(player): add visual buffer and preload progress indicator to seekbar - #378
neerajlovecyber wants to merge 2 commits into
Conversation
[P2] Clear
|
|
@kali113 is this ok |
|
Additionally, we can have a stats icon in the player ui, like in Stremio, for detailed stats for nerds. |
|
@quiettinkerer hehe was thinking same , i Need it badly idk why but i need it |
|
Hey @neerajlovecyber, I think you should look into fetch streams for next 30-45 seconds prior end credits in series and prior 80 percent completion in movies. Switch to next stream fast af on genuine completion, depending on settings set in the video and audio preferences. I will check this if no one is looking into it. |
Summary
Adds a secondary semi-transparent buffered progress line ahead of the primary playback tracker on the desktop player seekbar, providing real-time visual feedback on download health and cached stream data.
PR type
Why
Currently, the video player only displays the active playhead position on the seekbar without indicating how much media data has been buffered or cached ahead by the demuxer. Users cannot tell if a stream is healthy or about to stall until playback abruptly halts. Adding a visual buffered line brings the desktop player in line with expected video player standards (e.g. YouTube, Netflix).
Desktop scope
Desktop player web controls overlay (
controls.css,controls.js) and native player bridge (player_bridge.cpp,player_bridge.mm,build.gradle.kts).Issue or approval
Fixes #320
UI / behavior impact
Policy check
CONTRIBUTING.md.Scope boundaries
Only introduces the buffered duration property to the native player periodic update loop and renders the secondary
--bufferedbar in the seekbar gradient CSS. Does not modify playback engines, seeking algorithms, or non-desktop components.Testing
.\gradlew.bat :composeApp:buildWindowsPlayerBridge..\gradlew.bat :composeApp:run.Screenshots / Video
Breaking changes
None.
Linked issues
Fixes #320