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

231
Views
current song getting paused when routed to another page in react JS, how to keep it playing?

I am trying to implement a music app in reactjs where users can perform all the operations like Spotify, as I was working on it I got stuck here [the song getting paused as soon as I go from one route to another.]

I want to implement something like : as we go from one route to another, the song should keep playing in the background. I read many articles and blogs and also watched YouTube videos but none of them worked for me. Can someone tell me how I can make it happen?

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

0

refer this sandbox, I tried to solve the above problem, Just like Header component is used in react JS.

Refer this link, code will explain:

Sandbox For Audio + Router React

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!