-
Notifications
You must be signed in to change notification settings - Fork 104
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
ignore timeupdates while seeking #8
base: master
Are you sure you want to change the base?
Conversation
Isn't it better to just call |
Can't confirm the issue. Please re-open with more details if you still experience the issue. |
This commit did indeed not fix the problem. When seeking to some position the subtitles appear immediately, even if the video-image of that position has not yet loaded. But in my opinion subtitles should only appear together with the corresponding video-image. IIRC setIsPaused can only stop subtitles at the seek-destination, but not at the seek-origin. As mentioned to experience this problem loading times when seeking have to be high. What other details do you need? |
Thank you for explanation. I thought you did a fix for issue "subtitles playing even after seeking" that you mentioned in first message, but now I understand. Anyway, sorry for misunderstanding :) |
Yes please. This would be helpful. We could hack it by suspending the tick on animation frame on our code, but this would be a good feature add. |
932dcbe
to
c6a8819
Compare
Add "lite render" mode when all animations are disabled
I was working with high bitrate videos that take some time to load. I noticed that when seeking to some position the seeked subtitles appeared instantly while the player (videojs dash in my case) was stopped at the current frame prior seeking. Even worse the subtitles at the seeked position were playing (and would only stop after 5 seconds of not receiving update events iirc).
This fix ignores timeupdates while seeking to keep the videoimage and subtitles consistent.