XEmbed-aware NPAPI Plugins?

Kevin Krammer kevin.krammer at gmx.at
Wed Apr 4 12:00:25 BST 2007


On Tuesday 03 April 2007 23:08 +0100, Mike Melanson wrote:
> Kevin Krammer wrote:
> > Hi Mike,
> >
> > On Tuesday 03 April 2007 00:16 +0100, Mike Melanson wrote:
> >> Hi,
> >>
> >> Are there any plans to adapt Konqueror (now KFM?) to use XEmbed to
> >> instantiate NPAPI plugins (such as the Flash Player)?
> >
> > I am not sure I understand the question correctly.
> > Do you mean "adapt" in the sense of doing differently than we do now or
> > in changing to a new version of the NPAPI?
>
> Not a new version of NPAPI.
>
> Mozilla implements XEmbed for embedding plugins on X, which differs (in
> good ways) from the classical Xt mainloop method (though it still
> supports the old method). The API (from the plugin's perspective) is here:
>
>    http://www.mozilla.org/projects/plugins/xembed-plugin-extension.html

I see, thanks for clarifying.

I think we already use XEmbed or something similar for plugins because we run 
them out of process as part of nspluginviewer, in which case it might not be 
very difficult to check if the plugin can do its side of XEmbed itself.

However, you better wait for an answer of the developers with in-depth 
knowlegde of browser and/or plugin handling (please excuse the CC'ing guys)

> I've seen the code on Mozilla and it seems pretty simple from the
> hosting app angle, too (query the plugin to ask if it supports XEmbed,
> if yes, create an XEmbed socket and pass it to the plugin via SetWindow()).
>
> I'm interested because I'm working on upgrading a NPAPI plugin from Xt
> mainloop to XEmbed.

Adobe Flash plugin, correct?

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20070404/0bbe04d6/attachment.sig>


More information about the kfm-devel mailing list