-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
seekTo end frame jumps to 0:01 #591
Comments
Using
Perhaps the seconds parameter should be just a |
Thanks for the quick reply and background info! As the seek bar control returns fractions, and the default for
Well, in this case I would need it to prevent To work around it, I'm now trying something like
but am running into a different issue where Safari seems to jump too far, and I'm not seeing anything anymore (although it works in Chrome). |
Yeah, fair enough. I guess a hacky workaround for now could be |
Yep, that would work as a workaround, except I am now running into the Safari issue (happens with I've tested and found that in this case |
A new issue makes sense, but this seems like a problem with Safari rather than ReactPlayer. I can't reproduce the issue myself. For me it just shows the last frame of the video: https://jsfiddle.net/8s1xjrgf/ |
Thanks! ✌️ |
Hi, I'm having some issues with the changes made to
seekTo
as a result of #75.seekTo(1)
) makes the player jump to 0:01. To reproduce: open https://cookpete.com/react-player/, load mp4 and seek to end. Expected: video shows last frame. Actual: video jumps to 0:01.So, while I love the clean and concise API, I have to say I agree with @waynebloss here:
I understand we now face backwards compatibility issues as well. Maybe we can add a second parameter to the function:
type: AUTODETECT (default) / SECONDS / FRACTION
?The text was updated successfully, but these errors were encountered: