Closed abrahamian closed 5 years ago
@abrahamian I checked a few random players online (Vimeo, YouTube, Bandcamp) and indeed it seems the behavior you're suggesting is standard. Thanks for flagging this problem! I'd be happy to take a pull request if you'd like to work on it.
Ah, just realized you already left one! Thanks! :)
You can reproduce this bug simply by playing a track in the live style guide. When the playback time is between 59.5 and 60, the timestamp in the
MediaStatusBar
displays:60
The problem lies in the
convertToTime
function, which rounds up to the nearest second. It should instead round down, so that the number displayed represents elapsed seconds.:00
:59