|
|
@@ -78,7 +78,7 @@ export const WaveformCanvas = React.forwardRef<SpectrogramCanvasDerivedComponent |
|
|
|
const { default: WaveSurfer } = await import('wavesurfer.js'); |
|
|
|
const waveSurferInstance = WaveSurfer.create({ |
|
|
|
container: containerRef.current, |
|
|
|
height: containerRef.current.clientHeight, |
|
|
|
height: 'auto', |
|
|
|
autoplay: autoPlay, |
|
|
|
fillParent: true, |
|
|
|
waveColor, |
|
|
|