SDL in Mozilla

Just an idea: I’d like to link SDL into Mozilla and offer the jSDL API
to Applets. The best way to do this might be to implement a plugin
for this and embedd the SDL window into the HTML page and to
allow a fullscreen mode, if requested by the applet.
Has anybody considered something like that yet?