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