X
點擊此處開啟此網站的行動版。

技術支援討論區

My NPAPI plugin shows up in Plugins list, but my test page using that plugin via an Object tag doesn't work properly, complains "TypeError: plugin(...).xxx"

已張貼

Hi,

We've written a NPAPI plugin to wrap our native player engine and enable the users to write an web based player. I'm running into a problem where my NPAPI plugin shows up in Plugins list, but my test page using that plugin via an Object tag doesn't work properly, complains "TypeError: plugin(...).xxx is not a function". This was working until 4 hours back on my browser.

This is how my object tag looks like in my test html file,

<object id="plugin0" type="application/x-mmfr" width="900" height="450" > <param name="onload" value="pluginLoaded" /> </object>


I've my plugin installed properly and registry values are proper too and also Firefox shows up the plugin in the Plugins list in "about:plugins".

Once it stopped working, I tried uninstalling the Firefox and reinstall again, but still the problem persists.

Could someone please shed some light here on what I could be doing wrong? And also the same code works in my team member's system and our plugin works well in Firefox browser.

Thanks, Prem

Hi, We've written a NPAPI plugin to wrap our native player engine and enable the users to write an web based player. I'm running into a problem where my NPAPI plugin shows up in Plugins list, but my test page using that plugin via an Object tag doesn't work properly, complains "TypeError: plugin(...).xxx is not a function". This was working until 4 hours back on my browser. This is how my object tag looks like in my test html file, <object id="plugin0" type="application/x-mmfr" width="900" height="450" > <param name="onload" value="pluginLoaded" /> </object> I've my plugin installed properly and registry values are proper too and also Firefox shows up the plugin in the Plugins list in "about:plugins". Once it stopped working, I tried uninstalling the Firefox and reinstall again, but still the problem persists. Could someone please shed some light here on what I could be doing wrong? And also the same code works in my team member's system and our plugin works well in Firefox browser. Thanks, Prem

額外的系統細節

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36

更多資訊

FredMcD
  • Top 10 Contributor
4270 個解決方法 59896 個答案

I've called the big guys to help you. Good luck.

Were there any changes made to the plugin after it was working? Make sure all of your plugins / graphics are up to date.

I've called the big guys to help you. Good luck. Were there any changes made to the plugin after it was working? Make sure all of your plugins / graphics are up to date.

提出問題者

Hi Fred,

Thanks for the response.

I didn't make any changes to the plugin after it was working fine.

Thanks, Prem

Hi Fred, Thanks for the response. I didn't make any changes to the plugin after it was working fine. Thanks, Prem
FredMcD
  • Top 10 Contributor
4270 個解決方法 59896 個答案

Did you check for updates on everything?

Did you check for updates on everything?

提出問題者

Hi Fred,

What kind of updates need to be checked?

Actually, the NPAPI plugin MSI that I build with Visual Studio 2008 installs fine and proper registry values are added to registry. When I launch the test page that uses the plugin, somehow the plugin is not detected properly.

On the other hand, the same NPAPI plugin MSI built on my team member's machine works well, when I installed that on my PC. When I launch the test page that uses the plugin, the plugin is detected properly and everything works well.

Any clues or ideas on what I could be missing in my environment when I build the NPAPI plugin MSI on my machine?

Thanks, Prem

Hi Fred, What kind of updates need to be checked? Actually, the NPAPI plugin MSI that I build with Visual Studio 2008 installs fine and proper registry values are added to registry. When I launch the test page that uses the plugin, somehow the plugin is not detected properly. On the other hand, the same NPAPI plugin MSI built on my team member's machine works well, when I installed that on my PC. When I launch the test page that uses the plugin, the plugin is detected properly and everything works well. Any clues or ideas on what I could be missing in my environment when I build the NPAPI plugin MSI on my machine? Thanks, Prem

由 cpremkumar 於 修改

FredMcD
  • Top 10 Contributor
4270 個解決方法 59896 個答案

You copied the same plugin from another computer, and now it works? It's possible your original program was corrupted, and the replacement removed the bad file.

You copied the same plugin from another computer, and now it works? It's possible your original program was corrupted, and the replacement removed the bad file.