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

141
Visualizações
Add Audio To Video with Javascript and html

I need to add audio to an existing mp4 video. You could think of this as background music. There is audio already in the video. But I need to add another audio track, and it needs to be done client side. I'm trying to avoid additional libraries/tech like ffmpeg and wasm. Any thoughts on how to do this with just Javascript and html?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

If you just want to add background music to your video, I would recommend editing the video in some video editing software such as imovie or adobe video editior or some online editors because you cannot combine video and audio in HTML or Javascript. Once you are done editing the video, you could save that video and use it in your HTML using the video tag:

<video width="500" height="500" controls>
  <source src="the name of your video file goes here" type="video/mp4 or ogg>
</video>
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