This library is a modernized fork of:
It provides an audio player component set for mobile-focused Ionic applications that works out of the box in the browser and on device using an underlying audio provider (Web Audio in the browser; native audio via Capacitor / Cordova on device).
This project is a modernized fork of:
Originally based on:
This project has been migrated from Ionic 3 + Angular 5 to a modern Angular workspace:
-
Angular 21
-
Ionic Angular 8
-
Capacitor 8 (replacing Cordova for native)
-
Vitest for unit tests
-
Library:
projects/ionic-audio— build withnpm run build(from repo root) ornpm run build:lib. -
Demo app:
projects/ionic-audio-demo— run withnpm start, tests withnpm test.
- Keep in mind that in certain scenarios you might be better off using standard HTML 5 audio components instead of this plugin
- The plugin allows for simultaneous playback (multiple tracks), you are responsible for stopping / resuming playback responding to events
- Some audio formats / codecs may not be supported, you might need to convert your audio files
Install from npm:
npm install @gurezo/mobile-audio-player
In your Angular app, import IonicAudioModule from @gurezo/mobile-audio-player and add provideIonicAngular() (or IonicModule.forRoot()) as needed. See the demo app in projects/ionic-audio-demo for a full example.
- Ariel Faur @arielfaur
This project is licensed under the MIT License.
Original upstream authors retain copyright for their contributions. Additional modernization and maintenance are by Akihiko Kigure.
See the LICENSE.md file for full details.
- Conventional Commits とブランチ運用ルールについては
docs/conventional-commits-strategy.mdを参照してください。