Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

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"

  • 5 ответов
  • 3 имеют эту проблему
  • 1 просмотр
  • Последний ответ от FredMcD

more options

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

Все ответы (5)

more options

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.

more options

Hi Fred,

Thanks for the response.

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

Thanks, Prem

more options

Did you check for updates on everything?

more options

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

more options

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.