[vlc-devel] Re: [streaming] Regarding Options in VLC Embedded in WebPage

Jean-Paul Saman jean-paul.saman at planet.nl
Tue Feb 6 08:41:28 CET 2007


Nikhil Agrawal wrote:
> Hi all,
> 
> I am using Aci\tiveX control for VLC to embedd it in WebPage. Default
> setting for "*clock synchro*" in VLC when installed is "Default" (in VLC
> 0.8.2 Settings-> Preferences-> Input/Codecs-> Advanced-> clock
> Synchronization).
> 
> I want that setting to be "*Enabled*" whenever user requests for any 
> stream.
> So in vlc plugIn *addTarget* function's , *option* parameter I want to pass
> clock-synchro = 1. Following is the code that executed when user clicks 
> Play
> button present on WebPage.
> 
> 
> function PlayFile(filename)
> {  var options=["--audio-track=0* *--*clock-synchro=1*"];
>   document.vlc.playlistClear();
>   document.vlc.addTarget(filename,options,1,0);
>   document.vlc.play();
> }
> 
> So I want to know , is this code valid and will take these properties to be
> effective into the current stream requested?

I believe you should write the options as ":audio-track=0 :clock-synchro=1"

Gtz,
Jean-Paul Saman.

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list