On Fri, Apr 04, 2008 at 09:49:50AM +0200, Udo Giacomozzi wrote: > Hello Benjamin, > > Friday, April 4, 2008, 8:34:03 AM, you wrote: > BW> The Player class has in fact been registering an fs_command callback > handler for > BW> months. I just added code to pass it on to virtual methods in the Gui > class. There is > BW> also a new callback for GUI events from the core, which is likewise > passed on to > BW> Gui. The methods are so far reimplemented only in the GTK gui. > > The "quit" command should work with any GUI, correct? :) > > The "fullscreen" command won't make any sense for FB GUI and that GUI > does not have any menu anyway. > > And why are FsCommands ignored for Plugins? The standard use for that > command is not "quit" or "exec" but to send messages to the > JavaScript environment. Speaking of that, unhandled (generic) > FsCommand calls should probably be forwarded to the GUI. As a browser > plugin they need to call the JavaScript function somehow.
We have a bare gnash-to-plugin communication protocol now. Only implemented command is GETURL ... but does work with javascript: urls so might be used to call javascript functions as well (which is how I saw it used, never with fscommand...) --strk; _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

