Safari cannot create peaks #2857
Unanswered
korayrubicoda
asked this question in
Q&A
Replies: 1 comment
-
I can’t offer support for v6 anymore, but feel free to try with the v7 beta. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using this code to generate peaks.
useEffect(() => { ws.current = WaveSurfer.create({ container: wavDiv.current }) ws.current.on("ready", function () { const peaks = ws.current.backend.getPeaks(300, 0, 300); const duration = ws.current.backend.getDuration(); setPeaks(peaks); setDuration(duration); }); })
It generates correctly in Chrome, but it doesn't generate peaks properly in Safari.
Safari
Chrome
How do i solve ?
Beta Was this translation helpful? Give feedback.
All reactions