I’m a new bie to IONIC. There isn’t any NPM module for JWPLAYER on IONIC 2 yet. So, attaching the complete snippet which might be help to anyone who wish to use the JW PLAYER API.
Make a SERVICE, import in to your component page as provider and then you will be able to access the methods from the service.
Include the script tag of your external JS inside the index.html page, make sure the script is placed inside the src/assets folder.
The completed page can be available here :