Safari currentTime display wrong
Description
Safari 10.0 MacOS Sierra 10.12 Videojs 5.11.7 and 5.12 When clicking to scrub a paused video in safari 10, the currentTime display remains one behind the actual position. For example, if I click to scrub to 10 seconds, it still displays 0:00. Then if I scrub to 50 seconds, it displays 0:10, and so on.
Steps to reproduce
- Begin playing the video, and then pause it.
- Click the slider to scrub to a point in the video. Repeat this a couple of times.
- The currentTime will be one click delayed.
This bug appears to be limited to Safari 10.0.
This sounds like the issue that is fixed by v5.11.8 - please re-open if it's not!
@misteroneill Still broken in v5.11.8.
I confirm @seaside98 's report. It sometimes seems to work, but the actual currentTime displayed is often incorrect.
I can confirm. That's bizarre. I get a different, almost random, value each time I click to seek.
Actually, I can confirm it in the jsbin above but that's using videojs 5.0, when I updated it to 5.11, I'm not seeing any issues.
I'm still seeing it with 5.11. Are you using Safari 10.0?

Yeah, trying out on safari 10. I'll investigate some more, I guess but it seems to be working fine for me.
Unfortunately, I'm still unable to reproduce this.
@gkatsev I can still repro with 5.12 or 5.13.1 play pause click on progress bar to seek almost appears that the previous current time sticks to the tooltip
Could it be the fact that it's using a cached currentTime if it thinks the player is scrubbing?
This reproduces for me in Safari 10.0.1 using video.js 5.13.1
It does not reproduce in Chrome 55 for me.
This also reproduces in Safari Tech Preview (10.1)
In some further testing this appears to be related to the fact that seeking appears instant on this video. If I try a different video like this one: https://download.blender.org/demo/movies/tears-of-steel_teaser.mp4 seeking is no longer instant. With seeking taking longer this bug no longer shows up in Safari.
The behavior when seeking takes some time is:
- Original time is displayed
- Click seek
- Seeking spinner starts - time continues to display original time.
- Seeking completes - time display updates to show time that we seeked to.
The fact that step 3 continues to show the original time seems a bit odd since as a user I expect the value to update to what I just saw as I as hovering, but I can understand why our code waits until the seek completes.
My guess is that a seek end event is being missed in this repro js bin.
@misteroneill do you happen to have a link to the issue from v5.11.8 that was similar to this?
@boushley It was #3349
Thanks for opening this and for building with Video.js. For the last year we’ve been hard at work re-building the player from the ground up for the modern web. It’s now available as v10 and we’d love for you to join us by upgrading.
Video.js v8 will now live at videojs/videojs-v8 and continue to be maintained as best as we can with security fixes until October 1, 2028 (see its security policy).
This issue hasn’t had activity since December 2016, so we're closing it rather than moving it to videojs/videojs-v8. If it still applies to Video.js 10, open a new issue or discussion and link back here so we keep the context.
Moving to Video.js 10? Use a migration guide: HTML · React.
Migrating with a coding agent? Paste the prompt from the guide's AI Quickstart section into your agent: HTML · React.
If this is a security vulnerability, don't add details here. Report it privately through private vulnerability reporting.