Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

265
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda