Best practice to add a third party html/JavaScript player to your ionic 3 application

Hello Everyone,
I have a third party html/JavaScript player and I need to open it in my ionic 3 application using an iframe.
The problem is I’m not able to get reference of the index html js files; I keep getting the following error

index.html:17 GET file:///www/assets/player/inline.bundle.js net::ERR_FILE_NOT_FOUND

what do I need to load this player correctly?
I tried to refer the player js files as follows:
“android_asset/www/playerFoldreName.targetFile.js” but there’s something missing
but I get this error

Failed to load resource: net::ERR_FILE_NOT_FOUND

problem solved it was