[webkit-dev] Proof of Concept: NPAPI plugins in Qt/Windows

Kevin Ollivier kevino at theolliviers.com
Thu Nov 8 08:48:20 PST 2007


Hi Justin,

On Nov 8, 2007, at 7:35 AM, Justin Haygood wrote:

> http://blog.justinhaygood.com/2007/11/07/youtube-in-qt-webkit-windows-only/
>
> For more information, see the above blog post.
>
> Basically, it does it by  (in a semi-clean way) utiziling the  
> existing code for Windows plugins, which makes this method Windows  
> specific. The requisite patch patches some other parts of the  
> codebase for it to work as well, but for the most part. It actually  
> works, as long you can see from the screenshot J. It needs work, but  
> it’s a good proof of concept that it will work.

Thanks for your work on this! :-) I think this approach would likely  
work for the wx port too, and I think in general it'd be useful to the  
project as a whole if we could split the plugin code into platform  
specific bits, and also the core code for Win/Mac/GTK (or X11?) like  
this, as obviously the plugins themselves are passing around native  
data structures rather than the ones the ports use. This way all the  
ports can share the core engine code and only have to implement the  
front end and do any necessary data type conversions, etc.

BTW, one thing I noticed about your patch - it seems to remove and  
then re-add FrameLoaderQt.cpp (or else, whitespace or something else  
changed throughout the entire file). Was this intentional?

Regards,

Kevin

>
> Plugins tested and confirmed “working”:
> Flash Player 9
> Quicktime 7
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20071108/f3f67f0c/attachment.html


More information about the webkit-dev mailing list