Postby Webstorm » 18 Feb 2006 18:58
You can set audio track using the addTarget function :
document.vlc.playlistClear();
var options=[":audio-track=5"]; // select audio track 5 (=6th, 1st is 0)
document.vlc.addTarget( <source_file_or_url> ,options,2,0); // replace entry 0
document.vlc.play();