Play or copy music files from user library (like itunes) to ionic app directory


Is there a way to play music/video from eg. iTunes library inside an ionic app?

If so, could I also copy the files to my local app directory?
I’d like to embed them in videogular and be able to slow down , speed up, set cue points etc…


I don’t know if you can programmatically access iTunes library on your smartphone, but you can do that for other folders.

First use Cordova File API plugin to access a filesystem and scan it for media files.

Then you will need to use Cordova Audio plugin.

Find them all here including working examples:


afaik you can indeed only access the application directory with the cordova file plugin.

For others who are searching…
Here’s a plugin that picks songs from the ios music library.
(haven’t tried yet)