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

210
Vistas
Why is Safari 15 not triggering the audio events like `audio.onended`?

I am trying to play some audio on the new Safari version(15), it plays the audio but does not trigger the audio.onended function.

  useEffect(() => {
    if (audio !== null) {
      audio.onended = () => console.log('hello');
    }
  }, [audio]);

Here is a screenshot when I test in safari: https://gyazo.com/ebdc247bfd7195d9bcaa9bef7050b22c

Here is a screenshot when I tested in chrome: https://gyazo.com/813d37a405cd54a0b736330876498887

As you can see on chrome, it is working well and in safari it is not triggering the audio.onended

Do you have similar problem as me? If you have how can I fix this issue?

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