Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress bar for current playing track #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anavarr
Copy link

@anavarr anavarr commented Jun 4, 2024

Add a progress bar for the current playing track

Current look

image

Current features

display the current timecode of the video and the total length : a slider is updated to show the video progress, this slider can be interacted with to jump somewhere in the video

Limitations

the slider doesn't work well when slided but if the user simply clicks somewhere on the bar it works.

Progress behaves weirdly because the slider value is updated frequently by querying the player GetCurrentTime API, the updates happen when the user is dragging the slider, making it go back and forth between the currentTime and the mouse position on the bar

… track.

It can be interacted with but the slider behaves incorrectly when the user *slides it* instead of simply clicking somewhere on the bar : this is due to the fact that the value of the slider is updated by querying player API
@anavarr anavarr force-pushed the track-progress-bar branch from 38f6565 to 3ffdb5f Compare June 4, 2024 10:08
@anavarr anavarr changed the title Functional draft progress bar next to play button for current playing… Progress bar for current playing track Jun 4, 2024
@decaf-dev
Copy link

I would like to see this merged.

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.

2 participants