Created attachment 376634 [details] patch Description of problem: From: Wade Brainerd <wadetb> Hi, I'm experimenting with adding the ability to embed Flash content in Sugar activities. (Sugar is the software behind One Laptop Per Child, see http://sugarlabs.org). Sugar activities are typically written in PyGTK. I have it working fine with Gnash, by running the standalone Gnash player with the -x <XID> option and the XID of a gtk.Socket window that my activity creates. The -x parameter tells Gnash to create a GtkPlug widget instead of its main window, attaching the given XID. This nicely embeds the Gnash player inside my PyGTK program. I'm trying to replicate the same thing with the Adobe player. The Adobe standalone player doesn't appear to accept a -x <XID> option. So, I'm using nspluginwrapper and the Adobe plugin. All I had to do was add support for passing an XID into the standalone nspluginwrapper program, npplayer. The patch to do so is attached. It adds a --xid N option to npplayer which causes a GtkPlug to be created at startup instead of the top level window. It allows any NS plugin to be embedded in any GTK program by virtue of the GtkPlug / GtkSocket system, which is a stated goal of the nspluginwrapper project. I hope someone else finds it useful. Best, Wade (PS - I'm new to nspluginwrapper, so if there is an easier way to do what I've done please let me know!) Version-Release number of selected component (if applicable):
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle. Changing version to '13'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Added to rawhide.