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

Rémi Denis-Courmont rdenis at simphalempin.com
Tue Jun 10 16:11:09 CEST 2008


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.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list