I followed the instructions from here https://stackoverflow.com/a/39009549/972813 to load the waveform and wait for the user click to load audio. It works well but it redraws the waveform whilst is loading.
Can I just load and play without redrawing waveform?
@diegoiglesias can you make a codepen that reproduces the problem?
try
wavesurfer.loadMediaElement(wavesurfer.song, wavesurfer.backend.peaks, true, wavesurfer.getDuration());
try
wavesurfer.loadMediaElement(wavesurfer.song, wavesurfer.backend.peaks, true, wavesurfer.getDuration());
Yes! it worked perfectly!