Konqueror Flash

koos vriezen koos.vriezen at gmail.com
Mon Jul 7 19:00:39 BST 2008


2008/7/7 Thiago Macieira <thiago at kde.org>:
> arnaudv6 at free.fr wrote:
>>Nevertheless, I still wonder why we don't simply
>>implement existing solutions such as firefox's "nsplugin viewer"
>>to properly support flash, as it should be :
>>no need to re-invent the wheel !
>
> nspluginviewer is a Konqueror external tool, not a Firefox one. It has
> supported Flash for years, when it was still made by Macromedia.
>
> Recently, though, Adobe has broken Flash and introduced weird code that
> makes it crash. It's not our fault and our developers are trying very
> hard to solve those issues. Which, without access to the source code or
> cooperation from inside Adobe, is a very thankless job.

nspluginviewer is the problem, not the Adobe plugin. The npplayer
backend from kmplayer
http://websvn.kde.org/trunk/extragear/multimedia/kmplayer/src/npplayer.c?view=log
is imo pretty clean code and the only thing that might be considered
as hacky is the NpObject to javascript mapping.
Almost the exact code runs on Maemo
http://kmplayer.garage.maemo.org/flash.png only without the javascript
part.
Never had any crash that wasn't the fault of my code.

Compare that to nspluginviewer, which tries to be a Xt and Gtk
application without doing proper initialiasation, at least for the
latter. That code is one big hack.

Koos




More information about the kfm-devel mailing list