stream tracking

pull/15/head
Broque Thomas 9 months ago
parent f67a44476f
commit 888299fe83

@ -574,7 +574,7 @@ function handleProgressBarChange(event) {
// Handle seeking in the audio track
if (!audioPlayer || !audioPlayer.duration) return;
const progress = event.target.value;
const progress = parseFloat(event.target.value);
const newTime = (progress / 100) * audioPlayer.duration;
console.log(`🎯 Seeking to ${formatTime(newTime)} (${progress.toFixed(1)}%)`);

@ -386,7 +386,9 @@ body {
}
.progress-bar {
position: relative;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 20px;
background: transparent;

Loading…
Cancel
Save