2 NPAPI中沒有API可用於全屏顯示,因此您必須通過打開本機窗口並使用本機平臺API將其全屏顯示,然後在那裏進行繪製來完成此操作。 來源 2010-08-08 16:02:42 smorgan +0 只是爲了確保我得到它的正確:它是插件的工作來打開本機窗口,對吧? – 2010-08-09 04:14:01 +0 對,這不是NPAPI的一部分。請注意,Safari明確建議不要在插件中這樣做: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
只是爲了確保我得到它的正確:它是插件的工作來打開本機窗口,對吧? – 2010-08-09 04:14:01
對,這不是NPAPI的一部分。請注意,Safari明確建議不要在插件中這樣做: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