[vlc-devel] Enabling login for Web Plugin

Michael Ditum mike at mikeditum.co.uk
Wed Mar 10 10:56:48 CET 2010


On Tue, Mar 9, 2010 at 9:00 PM, David Glaude <david.glaude at gmail.com> wrote:

> Hi Michael,
>
> I am very much interested in finding the answer to the same question you
> ask as I am in exactly the same situation... Testing with the player where I
> really care about the plugin (right now).
>
> I wonder if this documentation is true (or not):
> http://git.videolan.org/?p=vlc.git;a=blob;f=projects/activex/README.TXT
>
> II. Debugging
>
> The ActiveX control is compiled with verbose output by default, but you
> will need to launch Internet Explorer from a Cygwin shell to see the
> output. Alternatively, the plugin will also use the VLC preferences, so
> if you enable the file logging interface through the player and save the
> preferences, the control will automatically log its verbose output into
> the designated file.
>
> At least I did not had any success yet with the dos prompt.
> I might need to do if from a cygwin shell.
> And I am not sure what to configure exactly to log to a file.
>

David,

Glad to hear I'm not the only one confused by this!

I've tried running IE and firefox through a dos and a cygwin cell and get
logging output on neither. They do behave differently with control to the
cygwin shell not being returned until the browser is closed where as with
dos it returns straight away.

The configuration I have to enable logging in the normal client is in
c:\Users\<uid>\AppData\Roaming\vlc\vlcrc and I've changed the following
items.

# Verosity (0, 1, 2) (integer)
verbose=2

# Log to file (boolean)
file-logging=1

# Log filename (string)
logfile=c:\Users\<uid>\Desktop\vlc.txt

# Log Format (string)
logmode=text

# Extra interface modules (string)
extraintf=logger

No logging is done until the logger interface is loaded but as Rémi said
that extra interfaces aren't allowed to be loaded in the plugin for security
reasons. I don't know if there's any way of disabling this at compile time
whilst we debug. I'll have a look through the code today and see if I can
see anything obvious.

Mike

>
> David Glaude
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100310/98919486/attachment.html>


More information about the vlc-devel mailing list