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

209
Views
It's possible play sound in an inactive chrome tab?

We have developed a webchat app that notifies the user if the message was received with firebase notification library, but we are totaly unable to play any sound when the notification arrives, that aparently is happenning due to a chrome performance algorithm

But we notice whatsapp webapp is able to do that, so, does anyone knows how to play a short notification audio when chrome tab is not focused?

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

0

Use a JavaScript Webworker https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers

Basically a Webworker is like a Backgroundtask. So your Tab doesn‘t need to focused to play the sound. Maybe that helps

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!