AUDIO AND VIDEO FILE

So i just finished doing my multimedia player project and i have a question. So, the src attribute would be pointed or directed for audio and video files. Now say you want to put a video file from a site that already has audio. Where would the audio file come from? Since the video file has audio? Also, where would the track src come from say the video has no captions? Must we use links from all sorts of places? PLease let me know. Thank you!

since the video has audio you don’t need an additional audio file

awesome. so wha
t about the captions?

if they are not in the video, then yes you would need a different file

When you set the src on a tag, the file normally already includes both video and audio, so you don’t need a separate audio source. The is only used if you have an external caption file like .vtt; if no captions exist, you can skip it. You can think of it like sharing files — sometimes you send everything in one package (video with audio), and other times you provide extras separately (like captions).