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

147
Vistas
Is it possible to play multiple mp4 audio tracks at the same time?

I'm trying out the audioTracks property of the HTML video element in both Chrome and Safari (https://developer.mozilla.org/en-US/docs/Web/API/AudioTrack)

What is not clear is whether or not you can enabled multiple tracks at the same time.

In my tests I have a file with 8 audio tracks. The first one is enabled as you expect and plays just fine. I use Javascript to enabled the second track with

const videoplayer = document.getQuerySelector(".videoplayer");
videoplayer.audioTracks[1].enabled = true;

Now it begins playing the second audio track. However, the first one is no longer heard. However if I console.log the videoplayer.audioTracks I can see that the enabled property on the first track is still true.

In most cases it totally makes sense to mute all other tracks when enabled an audio track, but I'm curious why the api doesn't reflect this in the audioTracks object.

Thanks

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