[vlc-devel] Re: take snapshot patch for mozilla plugin

Olivier Aubert olivier.aubert at liris.cnrs.fr
Wed Apr 4 10:39:18 CEST 2007


> This is a patch to the mozilla plugin for vlc 0.8.6a.  It gives the
> javascript API access to the takeSnapshot function.  This is a
> security hole since the js api can now write any file, but we're using
> this patch in a local version and some folks wanted to take a look at
> it.
To avoid this file security problem, you could have a look at the
mediacontrol_snapshot method, that returns an image buffer rather than
storing the snapshot in a file.

Olivier

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list