Skip to content

Explicitly update played range - #733

Merged
Dananji merged 1 commit into
mainfrom
sync-scrubbing
Nov 12, 2024
Merged

Explicitly update played range #733
Dananji merged 1 commit into
mainfrom
sync-scrubbing

Conversation

@Dananji

@Dananji Dananji commented Nov 11, 2024

Copy link
Copy Markdown
Collaborator

Related issue: #701

Update played range for mobile devices in the timeupdate handler, this helpful with updating progress-bar when the user is structured navigation.

NOTE: I was seeing laggy updates for the same steps in Safari in desktop, which was not reported in the ticket.
To solve this, I removed the abortable time-update handler we were using in the progress-bar. This is part of the previous implementation where, we built the progress-bar from scratch.
It seems with the refactor of the progress-bar component to use VideoJS' native component solved the issue we were trying to solve with the abortable time-update handler (laggy time-updates and jumping back and forth when scrubbing/seeking in Safari browsers).
In my initial testing during development, I was not seeing any issues with this change,. But this needs to be tested thoroughly across platforms and browsers.

, and remove abortable timeupdate handler for Safari

@cjcolvar cjcolvar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good as far as I can tell. 👍

@Dananji
Dananji merged commit 4761da3 into main Nov 12, 2024
@Dananji
Dananji deleted the sync-scrubbing branch November 12, 2024 21:05
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