Reputation: 3549
I already have video being played with its own audio. I want to add some background music to existing video. How can I achieve that in HTML5 and javascript?
Should I mix the video and audio data bits and play using one video element <video></video>
?
Or
Should I play the video and audio with its own <video></video> and <audio></audio>
tags?
Upvotes: 1
Views: 469
Reputation: 34
You should mix audio and your existing video with a video editor (iMovie, Adobe Premiere etc) and after that add video to your website using <video></video>
tag.
Upvotes: 1
Reputation: 355
There is two cases:
Upvotes: 0