Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

87
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda