Re: Flash and GTK



Pierre-Luc Beaudoin wrote:
> On Tue, 2008-11-11 at 11:47 -0700, Michael Torrie wrote:
>> I'm sure the same thing could be done with webkit.
> 
> Yes you can use WebKitGtk.  You will probably less hate yourself for
> choosing WebKitGtk's nicer API.  I am not sure though that you can
> simply point to the flash file, you might need to wrap it around an html
> page that loads the flash plug-in.

If the window is already the right size, just load the flash file as an
url.  For example file:///usr/share/myapp/myfile.swf

Note that you probably will have to, when setting up the webkit
environment, you may have to create a plugins folder that the flash
plugin is installed into and then then have webkit use it as the profile.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]