Page 1 of 1

Multiple Audio Tracks in ActiveX & Mozilla Plugins

Posted: 28 Sep 2005 13:40
by vulp
Is it way to select audio track in ActiveX & Mozilla plugins?

Solution

Posted: 18 Feb 2006 18:58
by Webstorm
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();