diff --git a/frontend/app/components/Session/Player/ReplayPlayer/AudioPlayer.tsx b/frontend/app/components/Session/Player/ReplayPlayer/AudioPlayer.tsx index e93699fa2..ed79c433b 100644 --- a/frontend/app/components/Session/Player/ReplayPlayer/AudioPlayer.tsx +++ b/frontend/app/components/Session/Player/ReplayPlayer/AudioPlayer.tsx @@ -102,9 +102,11 @@ function DropdownAudioPlayer({ const file = files.find((f) => f.url === key); if (file) { const targetTime = (timeMs + delta * 1000 - file.start) / 1000; + console.log(targetTime, audio.currentTime, timeMs) const fileLength = fileLengths.current[key]; if (targetTime < 0 || (fileLength && targetTime > fileLength)) { audio.pause(); + audio.currentTime = 0; return; } else { audio.currentTime = targetTime;