Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

139
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!