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

fix: Fix gap jump at start when first jump lands in a new gap #5408

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

baconz
Copy link
Contributor

@baconz baconz commented Jul 12, 2023

This change accounts for a gap jump at the start of an asset that lands the user user inside of another gap. The video element is still paused at this point, but we've moved past the startTime because we jumped a gap. Thus the gap jumper gets stuck, and playback will never start.

This seems like it should be a wild edge case, but we have some assets that reproduce it!

BEGIN_COMMIT_OVERRIDE
fix: Fix gap jump at start when first jump lands in a new gap
END_COMMIT_OVERRIDE

@github-actions
Copy link
Contributor

Incremental code coverage: 100.00%

@joeyparrish joeyparrish merged commit f56d49b into shaka-project:main Jul 19, 2023
@joeyparrish joeyparrish changed the title fix: Gap jump at start when first jump lands in a new gap fix: Fix gap jump at start when first jump lands in a new gap Jul 19, 2023
joeyparrish pushed a commit that referenced this pull request Jul 20, 2023
This change accounts for a gap jump at the start of an asset that lands
the user user inside of another gap. The video element is still `paused`
at this point, but we've moved past the `startTime` because we jumped a
gap. Thus the gap jumper gets stuck, and playback will never start.
joeyparrish pushed a commit that referenced this pull request Jul 20, 2023
This change accounts for a gap jump at the start of an asset that lands
the user user inside of another gap. The video element is still `paused`
at this point, but we've moved past the `startTime` because we jumped a
gap. Thus the gap jumper gets stuck, and playback will never start.
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Sep 17, 2023
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Sep 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants