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: gap jumping when gap exists at start position #5384

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

baconz
Copy link
Contributor

@baconz baconz commented Jun 30, 2023

Before playback starts the video element reports as seeking == true, but because we haven't installed our seek listener yet, the gap controller does not receive the seek event.

To work around this, we explicitly tell the gap controller when playback starts so that it knows the startup position, and can synthesize a seek event.

Before playback starts the video element reports as seeking == true,
but because we haven't installed our seek listener yet, the gap controller
does not receive the seek event.

To work around this, we explicitly tell the gap controller when playback starts
so that it knows the startup position, and can synthesize a seek event.
@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2023

Incremental code coverage: 100.00%

@avelad avelad added type: bug Something isn't working correctly priority: P1 Big impact or workaround impractical; resolve before feature release labels Jul 3, 2023
@avelad avelad added this to the v4.4 milestone Jul 3, 2023
@avelad avelad merged commit 6c71b0e into shaka-project:main Jul 3, 2023
joeyparrish pushed a commit that referenced this pull request Jul 20, 2023
Before playback starts the video element reports as seeking == true, but
because we haven't installed our seek listener yet, the gap controller
does not receive the seek event.

To work around this, we explicitly tell the gap controller when playback
starts so that it knows the startup position, and can synthesize a seek
event.
joeyparrish pushed a commit that referenced this pull request Jul 20, 2023
Before playback starts the video element reports as seeking == true, but
because we haven't installed our seek listener yet, the gap controller
does not receive the seek event.

To work around this, we explicitly tell the gap controller when playback
starts so that it knows the startup position, and can synthesize a seek
event.
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Sep 1, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: P1 Big impact or workaround impractical; resolve before feature release status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants