A simple audio player created with Ionic 4+ / Angular 8+ (updated in Aug 2019)
This is a simple audio player created with Ionic 4+ / Angular 8+ (updated in 2019)
It features a play/pause button, skip back/forward buttons and a progress bar that displays the current position of the audio file. It also supports setting arbitrary positions using the progress bar.
The app will automatically download the speech I Have a Dream from the Internet and prep for playing. You'll have to have an actual Android or iOS device to use this app.
To peek into the code, feel free to clone the repo and navigate your way through. I think it's pretty straightforward.
To try it out, use the following commands to install the app on an actual device:
ionic cordova run android --prod
in terminal.ionic cordova prepare ios
. Then use Xcode to open up the project and install it to your iOS devices.Thanks to the following posts and sources, I was able to come up with this solution:
Created by Michael Xieyang Liu
Last updated: Aug 20, 2019