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

Prevent jumpy timeline when doing multiple quick successive seeks with HLS video #366

Merged

Conversation

karendolan
Copy link
Contributor

@karendolan karendolan commented Jun 1, 2024

The jumpy timeline on rapid skip button clicks happens in Chrome browser.

TMI: Hi UPV, Last summer I overrode UPV's mp4 and HLS code to solve some issues with our site's HLS videos. One of them was an issue with a jumpy timeline and chaotic video seek behaviour when someone vigorously clicks the seek forward or seek backward several times sequentially on a multi-video event. Yes, this is a real student use case.

The new UPV code still has the issue. After a dissecting my old code, applying and testing parts, the 3 lines of code in this pull resolved the issue locally. I will continue testing because I don't get why this works. But, it can't hurt, so here it is.

To duplicate the issue:

  • Go to: https://paellaplayer.upv.es/player.html?id=hls-multiquality
  • Play the video, then click the seek forward button quickly multiple times.
  • EXPECTED: the video seeking is smooth and the timeline/current time doesn't jump around
  • ACTUAL: the video seeking get chaotic and the timeline jumps back and forth before all the seeks are resolved

@ferserc1 ferserc1 merged commit 13eec49 into polimediaupv:main Jun 3, 2024
1 of 2 checks passed
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