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

267
Vistas
Web API for default beep/ding/warning/alert/buzz/no-no sound

On most platforms, there is some sort of "no" sound when some sort of exceptional thing or alert occurs.

On Windows, we had the classic ding sound, with now a more friendly sound accompanying the notification bar. On OS X, we have the donk sound, that goes with alert boxes. Even on mobile with the speakers muted, we typically end up a short vibration motor pulse.

Is there a browser API for triggering this sort of "default" attention-seeking sound or vibration without popping up an alert box or notification?

(Note: I realize we can play sounds with the audio element and Web Audio API, and I also realize there is an experimental API for buzzing the vibration motor. I'm not interested in managing those behaviors myself. I want to trigger the default alert sound/buzz action on whatever device/platform is in use.)

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

There is no way to do this in any browser as of the time of writing (except for vibration on supported devices/browsers). An alternative approach is to serve a sound to the user, based on the user-agent (used for detecting the device) using the audio api (though if you don't want to manage this behaviour yourself, this is obviously a straight no unless there is a pre-existing library somehwere).

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