I want to use wavesurfer.js to create a audio waveform with cursor, so I tried the demo code. I copied the demo code into a html file, it works, but when I want to change the mp3 file, it doesn't work any more.
In the demo code, it uses another server as shown below:
But I just wrote the code following the first method:
wavesurfer.load('../songname.mp3');
BTW, I put the songname.mp3 and the html file in the same file.
I don't know where is going wrong? please help!