Control running VLC player from jscript

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Charle387
New Cone
New Cone
Posts: 6
Joined: 06 Mar 2010 17:07

Control running VLC player from jscript

Postby Charle387 » 09 Apr 2010 15:50

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

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Control running VLC player from jscript

Postby VLC_help » 09 Apr 2010 16:26

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.

Charle387
New Cone
New Cone
Posts: 6
Joined: 06 Mar 2010 17:07

Re: Control running VLC player from jscript

Postby Charle387 » 11 Apr 2010 19:29

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.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 36 guests