[vlc-devel] [PATCH] Don't use old ActiveX control

Kaloyan Kovachev kkovachev at varna.net
Tue Jun 10 17:16:02 CEST 2008


On Tue, 10 Jun 2008 17:11:09 +0300, Rйmi Denis-Courmont wrote
> Le mardi 10 juin 2008 15:46:58 Jean-Paul Saman, vous avez йcrit :
> > Poe wrote:
> > > Remove all references to VLCControl
> > > Use VLCControl2 instead
> >
> > This breaks the ActiveX interface contract (retaining the old interface).
> >
> > I know that for the mozilla plugin the old interface was already
> > completely removed.
> >
> > The only two functions that are a bit problematic are getVariable() and
> > setVariable(), because there are no internal replacements for. So the
> > question actually is if it is safe to implement/revive this functionality?
> 
> setVariable() always returned an error before it was removed, so I don't see 
> the point in putting it back. getVariable() is also harmful as it can be may 
> cause information leaks to Javascript uch as stealing your SOCKS credentials, 
> or your MPEG CSA keys, etc. And it's not very useful without setVariable().
> 
> If you need to get some specific value, such as input state, or input position 
> and so on, better use the dedicated "semantic" APIs.
> 

What about varCommand method? I have just started working on adding this
(attached, not tested yet) for the dynamic CSA update.

> -- 
> Rйmi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-varCommand-method-for-mozilla.patch
Type: text/x-patch
Size: 3690 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080610/541bef41/attachment.bin>


More information about the vlc-devel mailing list