vlc.playlist.add 'options' not working VLC 1.1.5
Posted: 24 Feb 2011 10:55
Hello Guys,
I need help, I'm not able to specify any options in vlc.playlist.add(mrl,name,options) to work in VLC version 1.1.5. I can display video but any option i put in seems to be ignored. Im not able to save the file. What am I doing wrong? Is there anything I need to add or a workaround I need to perform?
Thanks for your help!
javascript:
function doGo(targetURL) {
var vlc1 = document.getElementById("vlc1");
var options = new Array(":sout=#duplicate{dst=display, dst=std{access=file,mux=asf,dst=C:\VLC\video1onshore.asf}}");
vlc1.playlist.clear();
vlc1.playlist.add(targetURL, "", options);
//vlc1.playlist.add(targetURL);
vlc1.playlist.play();
};
HTML activex embed:
<td colspan="2">
<object classid="clsid:9be31822-fdad-461b-ad51-be1d1c159921"
codebase="http://downloads.videolan.org/pub/video ... /axvlc.cab"
width="720" height="576" id="vlc1" events="true" viewastext>
<param name="mrl" value="" />
<param name="showdisplay" value="true" />
<param name="autoloop" value="false" />
<param name="autoplay" value="false" />
<param name="volume" value="50" />
<param name="starttime" value="0" />
</object>
</td>
I need help, I'm not able to specify any options in vlc.playlist.add(mrl,name,options) to work in VLC version 1.1.5. I can display video but any option i put in seems to be ignored. Im not able to save the file. What am I doing wrong? Is there anything I need to add or a workaround I need to perform?
Thanks for your help!
javascript:
function doGo(targetURL) {
var vlc1 = document.getElementById("vlc1");
var options = new Array(":sout=#duplicate{dst=display, dst=std{access=file,mux=asf,dst=C:\VLC\video1onshore.asf}}");
vlc1.playlist.clear();
vlc1.playlist.add(targetURL, "", options);
//vlc1.playlist.add(targetURL);
vlc1.playlist.play();
};
HTML activex embed:
<td colspan="2">
<object classid="clsid:9be31822-fdad-461b-ad51-be1d1c159921"
codebase="http://downloads.videolan.org/pub/video ... /axvlc.cab"
width="720" height="576" id="vlc1" events="true" viewastext>
<param name="mrl" value="" />
<param name="showdisplay" value="true" />
<param name="autoloop" value="false" />
<param name="autoplay" value="false" />
<param name="volume" value="50" />
<param name="starttime" value="0" />
</object>
</td>