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

Use 200ms delay before showing multiview cell edit UI for YT players with allowLiveDvr enabled #787

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

FlaminSarge
Copy link

@FlaminSarge FlaminSarge commented Oct 2, 2024

Some livestreams have rewind enabled, and clicking on the seek bar on those currently causes the entire seek bar to shift around in the layout (messing with the seek position) due to the multiview button/border popping in as soon as the video is paused. This adds the same delay to lives as VODs such that clicking on the seekbar on live-rewind-enabled YT livestreams seeks to the correct position (dragging is still an unsupported case, for both VODs and lives, as the 200ms delay is usually not long enough to drag around in the seekbar before the seekbar shifts upwards due to the border popping in).

This has been updated to only change this behavior if the video has allowLiveDvr enabled.

FlaminSarge and others added 2 commits October 1, 2024 18:25
Some livestreams have rewind enabled, and clicking on the seek bar on those currently causes the entire seek bar to shift around in the layout (messing with the seek position) due to the multiview button/border popping in as soon as the video is paused. This adds the same delay to lives as VODs such that clicking on the seekbar on live-rewind-enabled YT livestreams seeks to the correct position (dragging is still an unsupported case, for both VODs and lives).
…te check, requiring either not-isLive, or allowLiveDvr
@FlaminSarge FlaminSarge changed the title Use 200ms delay for any YT pause on multiview, not just past videos Use 200ms delay before showing multiview cell edit UI for YT players with allowLiveDvr enabled Nov 15, 2024
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.

1 participant