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

203
Vistas
Is there a way to give out the start time of the audio playback (web audio API) as Unixtime?

Audio playback via web audio API (SourceNode.start()) works fine.

But I would like to have the start time of the playback as Unix time stamp. Is this possible, if yes, how?

I know, that I get the unix time by using +new Date(), but the problem is that I don't know where to place it, so that it's really the starttime of my audiofile.

Thank you in advance!

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

0

If you are using audio tag, you can add play event:

document.getElementById('myAudioElement').addEventListener('play', function(){
    console.log(new Date().getTime());
});

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