2 ms·
A “video file” is a misnomer. A “video file” (such as mp4) is actually a container with several different tracks, which can be one or more video tracks, audio,
by LeoNatan25 5y ago
A “video file” is a misnomer. A “video file” (such as mp4) is actually a container with several different tracks, which can be one or more video tracks, audio, subtitles, metadata (chapters, DV, synchronization) and others. If the browser is not aware of any of these, it will not be able to provide the information you require (but is a probably good indicator that the track is t supported).
- kevincox 5y agoWell that is a problem of the API, but at least it can recommend what the best string to put in the source tag's type attribute. > If the browser is not aware of any of these In my case the browser is playing the file, so it should know what info is there. But ideally it would at least make a best-effort attempt.