cordova-plugin-nativeaudio icon indicating copy to clipboard operation
cordova-plugin-nativeaudio copied to clipboard

Play remote (http) files

Open EddyVerbruggen opened this issue 10 years ago • 4 comments

Hi,

Currently this plugin only plays local files. Is it possible to adjust it to be able to play remote files (http://mydomain.com/file.mp3)?

Thanks a bunch, Eddy

EddyVerbruggen avatar Mar 13 '14 21:03 EddyVerbruggen

I'd also be interested in this, any news?

levexis avatar Aug 11 '14 12:08 levexis

technically it's possible. cache the remote file to local tmp folder, then preload and play. this will need 2 steps:

  • add a http-client;
  • modify the plugin to read local file, not bundle resource.

no recent plan working on this feature due to project priority.

floatinghotpot avatar Aug 11 '14 12:08 floatinghotpot

I'd love to see this feature as well. +1

randomprimate avatar May 28 '15 03:05 randomprimate

Can't wait that feature!

Makhlab avatar Feb 08 '16 11:02 Makhlab