How to play remote mp3 files in ionic 3


First sorry for my english I’m French.
I would like to know how I can play (or stream) remote mp3 files with ionic 3.

I believed I would be able to do that by using ionic native audio but apparently it currently only support local files because ionic was trying to find a file at path www/

So can someone can explain me how I can do please ?


You can use the HTML audio element, like a normal web page. Same with video and the HTML video element.

I don’t think it will play nice in background and when the device will be locked, I’m creating a music stream app so I want a more native solution.

Does it really the only one way to do that ?