[SDL] firefox
neil at cloudsprinter.com
neil at cloudsprinter.com
Mon Apr 28 01:55:22 PDT 2008
>> > Hi,
>> > Does anyone have any sample howto / code on how to create a plugin for
>> > firefox/etc with SDL .
>>
>> Some years ago I tried to do that, but it's not a correct approach, my
>> plugin worked ok if only one instance of the plugin was present in any
>> browser window, but started to give big problems if you tried to run two
>> instance of the plugin, this is caused by the single window limitation of
>> SDL 1.2, you can give SDL the browser rectangle assigned to your plugin
>> through the enviroment variable SDL_windowid, but when you need to do it a
>> second time you loose the first window, also I seem to remember that the
>> plugin rendered his graphics also if it was in an hidden tab.
>>
>> --
>> Bye,
>> Gabry
>>
> Is this approach okay ?
> http://zemann.blogspot.com/2008/04/how-i-learnt-to-create-firefox-plugin.html
> I wrote it.
>
SDL firefox plugin sounds like an amazing concept, i'm just thinking perhaps
when SDL1.3 is ready so it can do the multiple windows thing, it should be an
official plugin for firefox as part of SDL, rather than different versions
cropping up about the place.
More information about the SDL
mailing list