-
Notifications
You must be signed in to change notification settings - Fork 0
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: subtitle syncing issues #112
Conversation
…ng to avoid inconsistencies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
if viewModel.isPlaying { | ||
isAnimating = true | ||
|
||
withAnimation(.linear(duration: 0.3)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: I think we should move it to a private property so that if we need to change the auto-scroll time later, anyone can simply update this value without digging deep into the code. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have put the constants in a private enum.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
LEARNER-10314: iOS - Transcript gets out of sync when user seeks the video
Following scenarios have been implemented.
Here's a quick demo of the implementation.
Subtitle.Sync.Demo.mov