Progress bar of waves is getting stuck in safari browser #3896
Unanswered
salonirathod
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Hello @lucastheis @katspaugh I am also facing the same issue. Please share your suggestion for the same. Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
-
Probably related to the file type. Try playing the same file in a regular audio element. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug description:
At times in safari progress bar is not getting seek with the song, while song is played perfectly but there is no progress seen in the waves. It works fine in chrome.
Environment:
Minimal code snippet:
wavesurferInstance.on("audioprocess", () => { if (currentTrackRef.current.id !== currentTrack.id) { wavesurferInstance.pause(); return; } const per = wavesurferInstance.getCurrentTime() / wavesurferInstance.getDuration(); if (per === 1) { currentTrack?.song_wavesurfer?.seekTo(0); } const array = allSongsRef?.current?.findLast((item) => { return item?.song_url?.id === currentTrack.id; }); if (per > 0) { array?.song_wavesurfer?.seekTo(per); currentTrack?.song_wavesurfer?.seekTo(per); } }); }
Expected result
Waves must show the progress as songs plays
Obtained result
Screenshots
Beta Was this translation helpful? Give feedback.
All reactions