WIP Working on player
This commit is contained in:
@@ -357,6 +357,8 @@ export function SongPage() {
|
||||
const { isPlaying, isReady, currentTime, duration, play, pause, seekTo } = useWaveform(waveformRef, {
|
||||
url: activeVersion ? `/api/v1/versions/${activeVersion}/stream` : null,
|
||||
peaksUrl: activeVersion ? `/api/v1/versions/${activeVersion}/waveform` : null,
|
||||
songId: songId,
|
||||
bandId: bandId,
|
||||
});
|
||||
|
||||
// Track waveform container width for pin positioning
|
||||
|
||||
Reference in New Issue
Block a user