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

84
Views
Autoplay sound is getting stopped with print window

Autoplay sound is getting stopped as soon as I'm opening a print window through window.print() and coming back after clicking on cancel. This issue is happening only in Chrome browser whereas in Firefox it is working fine. I don't see any error/interrupt as well when I click on print window.

Can someone please explain why this is happening in Chrome and what is the workaround?


I've found the reasoning behind this behaviour. window.print() is a blocking function which blocks all the threads in Chrome but this is not the case with Firefox.

Reproduced this issue here: https://jsfiddle.net/Jatin46/yf0jt8ch/5/

We can see from the above example that time is getting stopped in Chrome but it is running in Firefox since Chrome blocks everything.

Now, I want to know if there is any workaround possible to unblock the background thread?

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!