Continuing the discussion from How to play local audio files:
Finally got this working, using a slight variant of loicknuchel’s code. A couple tips might help others:
The kink that tripped me up was that the local media url turned out to be case sensitive in the emulator and device, but not using ionic serve.
org.apache.cordova.media now redirects to
window.Media definition is needed using ionic serve, but is ignored in a device or emulator run.