Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

174
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda