Multiple Audio Tracks in ActiveX & Mozilla Plugins

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
vulp
New Cone
New Cone
Posts: 2
Joined: 14 Sep 2005 14:05
Location: Russia
Contact:

Multiple Audio Tracks in ActiveX & Mozilla Plugins

Postby vulp » 28 Sep 2005 13:40

Is it way to select audio track in ActiveX & Mozilla plugins?

Webstorm

Solution

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();


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 26 guests