I have rewritten the ionic-audio plugin for ionic/angular 2. I’d love to hear from the community as I am in the process of finalizing the API and could use some feedback here or any suggestions you may have.
Here are some of the features:
- Platform independent: it works in the browser and on Android/iOS. If
cordova-plugin-mediais added to the project, the plugin will use it as the underlying audio provider, otherwise it defaults to HTML5 audio.
- API: a set of components and providers to control audio playback from the component’s view and controller.
About the demo: I haven’t been able to set up a proper codepen. I’ve found it really challenging to have a typescript project work within a codepen, plunker or similar. So I had to resort to publishing the compiled version of the project.