开发者

How to read the param tag values in NPAPI plugin?

I have developed a NPAPI plugin(npruntime) for windows browsers like firefox, safari, Google chrome. My question is how one can read the values specified in the tag of the element in a plugin.

Is there any way to access these values in a plugin.? I searche开发者_如何学运维d a lot for this and unfortunately didn't get any help. We can read the tag attributes likes "type", "width" etc in NPP_New function.

Thanks in advance.

regards, Sanjay


You get the tags in the NPP_New function as well; they're all in the same place. Are you familiar with FireBreath? It abstracts all of this for you and works on IE as well.

You can find the code that FireBreath uses to pull the params out here: https://github.com/firebreath/FireBreath/blob/master/src/NpapiCore/NpapiPlugin.cpp#L76

(that function is called from NPP_New)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜