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
Add a progress bar for the current playing track
Current look
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