From dfd2cce7610d892d11f489bf1653bcb05b2275b0 Mon Sep 17 00:00:00 2001 From: R0m1k3 Date: Thu, 16 Apr 2026 16:22:46 +0200 Subject: [PATCH] feat: implement AudioPlayer component with playback controls, progress tracking, and persistence --- frontend/src/components/AudioPlayer.tsx | 28 +++++++++++++------------ 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/AudioPlayer.tsx b/frontend/src/components/AudioPlayer.tsx index 6daa544..dccc830 100644 --- a/frontend/src/components/AudioPlayer.tsx +++ b/frontend/src/components/AudioPlayer.tsx @@ -205,8 +205,8 @@ export default function AudioPlayer({ episode, onClose, userId }: AudioPlayerPro - {/* Controls + progress */} -
+ {/* Controls */} +
-
- {formatTime(currentTime)} -
- -
-
-
+
+ + {/* Floating Progress Bar at the bottom */} +
+ {formatTime(currentTime)} +
+ +
+
- {formatTime(duration)}
+ {formatTime(duration)}
{/* Right actions */}