With the browser plugin you can pass the subtitle you want to use as an options when you add an item to the playlist.
However I want to give the enduser the ability to switch subtitles on/off or change the subtitle track while the video is playing. The only way to do this at the moment is to restart the video and seek to the previous position.
I would like to be able to have methods like:
vlc.video.subtitle = 2;
vlc.video.subtitleEnabled = true;
Also the ability to read which language a subtitle track is would be nice.
Something like:
languageCode = vlc.video.subtitleLanguage(streamID);