[Swfdec] mozilla-plugin: getting the url of the current web page

Riccardo Magliocchetti riccardo at datahost.it
Fri May 2 12:21:17 PDT 2008


On Fri, 2 May 2008 00:32:25 +0200 "Benjamin Otte" <otte at gnome.org>
wrote:

> The code that Gnash uses (fiddling around with NPObjects, aka doing
> mad things with Javascript) is not something I consider sane code. And
> I don't want an ugly mess if I can avoid it.
> And I don't think there's a proper way to query the current site in a
> sane way.

Uhm :(

> As for making available APIs, Swfdec wraps all function calls in
> plugin.c look at the top of that file for some examples - and don't
> forget to copy the function table entry in the initialization
> function. NPN_GetValue() is implemented as plugin_get_value() for
> example.

Thanks Benjamin, will take a look at it.

Riccardo


More information about the Swfdec mailing list