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

192
Views
Música en JavaScript cuando se hace clic en el botón

Cuando el botón onclick debería funcionar con este archivo mp3 que he subido a GitHub. no funcionaría aunque lo he intentado incluso usando el enlace a través de https://voca.ro/1dcHxW3v1oQA

 function play() { var audio = new Audio('https://voca.ro/1dcHxW3v1oQA '); }
 <head> <body> <button onclick="play()">bwbfw</button> </body> </head>

con el código cambiado todavía no se reproduce

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Enlace al archivo y active la play()

 function play() { var audio = new Audio('https://bobzilla07.github.io/Music_Tap/1979.mp3'); audio.play(); }
 <button onclick=play()>bwbfw</button>

about 4 years ago · Juan Pablo Isaza 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!