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

193
Views
idm comienza a descargarse cuando intento cargar la canción usando wavesurfer.js

Estoy haciendo un reproductor de audio con wavesurfer.js. He pasado la fuente de la canción en el atributo src del botón. Cada vez que actualizo la página, el idm comienza a descargar la canción y el archivo no se carga con el objeto wavesurfer. Traté de dar el enlace usando la variable jQuery pero aún descargaba la canción y wavesurfer no puede cargar esa canción. ¿Cómo se puede solucionar este problema?

Aquí está mi código jQuery para cargar la canción y el código html:

 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Player</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"> <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"/> </head> <body> <div class="container mt-5"> <div class="row border mt-5"> <div id="pageDiv"></div> </div> </div> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script> <script src="https://unpkg.com/wavesurfer.js@5.2.0/dist/wavesurfer.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script type="text/javascript"> const wavesurfer1 = WaveSurfer.create({ container: "#pageDiv" }); wavesurfer1.load("songs/song1.mp3"); wavesurfer1.on('load', function(){ wavesurfer1.play(); }); </script> </body> </html>
about 4 years ago · Juan Pablo Isaza
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!