Page 1 of 1
Control running VLC player from jscript
Posted: 09 Apr 2010 15:50
by Charle387
For a project, I need to control the volume of a running VLC player from within a jscript. After a whole lot of looking around the VideoLan website and much general googling, I can't find a way to do this. It seems that LIBVLC.DLL might do what I want, but don't see how to use this DLL inside a jscript.
Ideas, please. Thanks. Charlie
Re: Control running VLC player from jscript
Posted: 09 Apr 2010 16:26
by VLC_help
That cannot be done. Scripting controls are only for VLC plugins that are run in browser.
You can naturally modify VLC's HTTP interface in case you want control it with javascript.
Re: Control running VLC player from jscript
Posted: 11 Apr 2010 19:29
by Charle387
Thanks for the info - even tho' it's not what I wanted to hear.
I can do what I want by shutting down the running player and restarting it at a lower/higher volume. But this is clumsy, and the buffer fill time would give unpleasant dead time.
Maybe this would be a good project: make the full libvlc.dll API open to non-browser use and specifically to j(ava)script and VBScript.