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

preserve video's last known time when scrolling away #6239

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

aqandrew
Copy link
Contributor

Closes #6035 (see issue for video showing old behavior)

Based on @mozzius' comment on #6037:

I'd be open to a solution that caches/restores the play position but still unmounts the player when scrolling away.

New behavior (play position is restored when scrolling back to video):

Screen.Recording.2024-11-11.at.9.03.57.AM-1080p.mov

@gaearon gaearon requested a review from mozzius November 11, 2024 17:36
@mozzius
Copy link
Member

mozzius commented Nov 12, 2024

Will look at this soon! Thank you!

Copy link
Member

@mozzius mozzius left a comment

Choose a reason for hiding this comment

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

Yeah this is great, thank you so much!

@mozzius mozzius merged commit 78e34c8 into bluesky-social:main Nov 19, 2024
6 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.

Video currentTime is lost after scrolling away from video
2 participants