问题
I'm using cordova 2.9.0 and I installed the videoPlayer plugin: https://github.com/macdonst/VideoPlayer
I added in config.xml the plugin and in the index.html after declaring cordova.js I included de video.js. Well, when I call the function window.plugins.videoPlayer.play I get the following error:
Uncaught Error: Error calling method on NPObject.
Thanks.
来源:https://stackoverflow.com/questions/18344958/plugin-videoplayer-phonegap-not-working