[Swfdec] Question about Konq Support
otte at gnome.org
Thu Aug 28 00:31:52 PDT 2008
On Wed, Aug 27, 2008 at 8:08 PM, Kris Moore <kris at pcbsd.com> wrote:
> Since swfdec can't "stream" data from a given URL, I have to instruct KDE to
> download all flash files to some local directory, and then have swfdec play
> the local archived copy.
Nope, Swfdec is a proper library. You have to provide a SwfdecLoader
implementation  that swfdec_stream_push()es data as it arrives.
> I will take a closer look at swfdec-gtk though, to see what I can glean from
> it. Do you think we'll end up having to write an entire plugin in QT from
> scratch, or should there be a way to "piggy-back" the gtk plugin and have it
> be loaded by a kpart in konqueror?
That would be possible I guess, but it depends on your purity and
integration goals. if you don't mind pulling in parts of GNOME and
depending on GNOMEy behaviors, sure, you can just write a KPart.
Otherwise you'll have to replicate the swfdec-gtk functionality.
Considering that right now, all the files in swfdec-gtk are 3k lines
of code (incl. comments), I'd say it's not a lot, but it's some work
to properly integrate it. Both ways have their pros and cons. I don't
really know which one is better.
More information about the Swfdec