Is there anyone who has an example of videojs-ima plugin implemented in ionic2? I saw some examples on web but couldn’t figure out how to implement this in ionic 2. I import the library as an external project but it keeps giving me this error. 'Cannot find module “videojs-ima”. How can i tackle the problem? Any help would be appreciated.(Sorry for my bad English.)
Now it produces this error: TypeError: Cannot read property ‘plugin’ of undefined
at http://localhost:8101/build/main.js:229246:6
at Object. (http://localhost:8101/build/main.js:229247:2)
at webpack_require (http://localhost:8101/build/main.js:20:30)
at Object. (http://localhost:8101/build/main.js:66552:70)
at webpack_require (http://localhost:8101/build/main.js:20:30)
at Object. (http://localhost:8101/build/main.js:177435:89)
at webpack_require (http://localhost:8101/build/main.js:20:30)
at Object. (http://localhost:8101/build/main.js:231296:70)
at webpack_require (http://localhost:8101/build/main.js:20:30)
at http://localhost:8101/build/main.js:66:18
at http://localhost:8101/build/main.js:69:10
If you want any help you should definitely add what examples you found, what you did to implement it in your app, what you tried that didn’t work, what the state of your app causing these errors is.