wavesurfer-react icon indicating copy to clipboard operation
wavesurfer-react copied to clipboard

React component for wavesurfer.js

Results 4 wavesurfer-react issues
Sort by recently updated
recently updated
newest added

Regarding [this issue](https://github.com/katspaugh/wavesurfer.js/issues/3744) I opened in the main branch, I've found a fix for the race condition exposed when using React with pre-calculated peaks. This PR picks out the `{...

It doesn't look like it is possible to get the 'finish' event when you are using WaveSurfer as a hook. This PR creates a State for whether the 'finish' event...

``` setWavesurfer(ws)} onPlay={() => setIsPlaying(true)} onPause={() => setIsPlaying(false)} plugins={[]} /> ``` When plugins array is provided like above (whether empty or not), useEffect in `useWavesurferInstance` causes infinite rerendering. Fixed this...

When passing `height='auto'` to the WavesurferPlayer, it is not actually able to take automatically adjust height because the container defined in `WavesurferPlayer` doesn't have a height. So realistically, someone who...