Page 1 of 1

vlc.playlist.add 'options' not working VLC 1.1.5

Posted: 24 Feb 2011 10:55
by zenouija
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>

Re: vlc.playlist.add 'options' not working VLC 1.1.5

Posted: 25 Feb 2011 08:57
by zenouija
Had anyone experienced this? Please help... :)

Re: vlc.playlist.add 'options' not working VLC 1.1.5

Posted: 24 Mar 2011 13:20
by Martin_Johansson
Hi

I have also tried to get around this for some time now. Found some other threads mentioning something about security measures making vlc ignoring options in playlist. I can make a http-stream in standalone VLC and view it in my VB-program, but I cannot do the reverse (create http-stream in VB and view in standalone VLC). There must be a way to get around this since the same thing can be done in VLC standalone! Did you manage to get passed this?

Thanks in advance!

/Martin J

Re: vlc.playlist.add 'options' not working VLC 1.1.5

Posted: 24 Mar 2011 13:54
by RĂ©mi Denis-Courmont
Sure you can. But you can't do it with ActiveX.

Re: vlc.playlist.add 'options' not working VLC 1.1.5

Posted: 24 Mar 2011 14:23
by Martin_Johansson
Ok, thanks for clarifying that.

/Martin J

Re: vlc.playlist.add 'options' not working VLC 1.1.5

Posted: 30 Apr 2011 01:22
by adam.eckels
So what CAN you do with ActiveX vs. the application? Is there a table I can reference somwhere or is that asking for too much?

Re: vlc.playlist.add 'options' not working VLC 1.1.5

Posted: 30 May 2011 18:05
by jacky912
If it doesn't work on ActiveX only, somehow it is doable but the developer didn't want to enable it.

Re: vlc.playlist.add 'options' not working VLC 1.1.5

Posted: 10 Jan 2012 12:52
by mabeghin
Developers have to make some limitations because if the following options were allowed on a web page:

> var options = new Array(":sout=#duplicate{dst=display, dst=std{access=file,mux=asf,dst=C:\VLC\video1onshore.asf}}");

That would mean a web page can write to your hard drive... Of course that is forbidden.

Re: vlc.playlist.add 'options' not working VLC 1.1.5

Posted: 10 Jan 2012 13:01
by Jean-Baptiste Kempf
Indeed.

Re: vlc.playlist.add 'options' not working VLC 1.1.5

Posted: 27 Feb 2012 06:00
by drdim
VLC 2.0.0
options not working
especially, i am interesting in the "crop" option:

":crop=1500:500"