Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

181
Views
wavesurfer tag (<wavesurfer>) does not work

I want to use wavesurfer.js and use the <wavesurfer> tag, but I do not know how and whatever I do, the sound does not load.

<wavesurfer
  data-url="http://127.0.0.1:8000/media/post/audio/4095c5f534c74f10951da8259772b549.mp3"
  data-plugins="minimap,timeline"
  data-minimap-height="30"
  data-minimap-wave-color="#ddd"
  data-minimap-progress-color="#999"
  data-timeline-font-size="13px"
  data-timeline-container="#timeline"
></wavesurfer>
<div id="timeline"></div>

where is the problem?

about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

If you are using react then you will have to install dependency of 'wavesurfer-react' using

npm install wavesurfer-react

You can import it in you jsx file using

import {WaveForm, WaveSurfer} from "wavesurfer-react";

Now WaveSurfer tag will be accessible in your code. Hope this helps!

about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!