I have a npapi plugin working on WebKit. How do I get it to work fullscreen? Is setting the screen browsers or plugin
s job?
views:
30answers:
1
+1
A:
There's no API in NPAPI to go full-screen, so you have to do that yourself by opening a native window and using native platform APIs to make it full screen, then do your drawing there.
smorgan
2010-08-08 16:02:42
Just to make sure that I got it right: it is plugin`s job to open the native window, right?
l.thee.a
2010-08-09 04:14:01
Right, that's not part of NPAPI either. Be aware that Safari explicitly recommends against doing this in your plugin though: http://developer.apple.com/mac/library/documentation/InternetWeb/Conceptual/WebKit_PluginProgTopic/Tasks/NetscapePlugins.html#//apple_ref/doc/uid/30001250-DontLinkElementID_1
smorgan
2010-08-09 04:52:13