How to Play dual audio MKV/AVI video with HTML5 ?


From what I searched for, Chrome has the codecs to play MKV videos. But, so far, I haven’t found anything that allows, using Javascript / HTML5, to select the audio tracks available in the MKV and AVI files.

Can anyone give me a light on how to do this?

My idea was to create a web player to play this type of file, with the possibility to select the audio track and display subtitles.

Question is closed for new answers.
Nilesh Raut Selected answer as best July 20, 2023