Playback breaks in Firefox when resuming a track close to its end
Funkwhale playback often gets stuck in obscure ways for me, but I've finally found a good way to reproduce one of the issues I've seen:
Steps to reproduce
- Start playing the track at https://open.audio/library/tracks/102547/ in Firefox
- Seek playback to around 4:05
- At 4:11 (last second of the track), pause and resume playback. For perfect reproducibility, first pause, then double-tap the pause/resume button 5 times, and then finally resume the track.
What happens?
The track progress bar will be stuck at 100% and the seek time will display NaN:NaN
. Pressing the pause/resume button will have no effect (other than changing icon to resume/pause, respectively). It will stay that way until the page is refreshed or another track is selected for playback.
What is expected?
The track should finish playing properly and the next track should start playing.
Context
Funkwhale version(s) affected: Version 1.0.1+git.c71e2a31, 1.0-rc1
- Mozilla Firefox (could not reproduce the issue in Chromium). I could not see any relevant messages in the log while pressing the pause/resume button