Hi Guys,
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.
For service i totally depend on https://forum.ionicframework.com/users/dkirolos code from How to build a live video streaming app.
Steps
-
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 :
http://beinservices.net/src.rar