stream tracking

This commit is contained in:
Broque Thomas 2025-08-28 18:16:03 -07:00
parent f67a44476f
commit 888299fe83
2 changed files with 4 additions and 2 deletions

View file

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

View file

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