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"
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.
Additional System Details
- User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
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.
Thanks for the response.
I didn't make any changes to the plugin after it was working fine.
Did you check for updates on everything?
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?
Modified by cpremkumar
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.