- Notifications
You must be signed in to change notification settings - Fork33
lxieyang/ionic-audio-player
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a simple audio player created withIonic 4+ /Angular 8+ (updated in 2019)
It features aplay/pause button,skip back/forward buttons and aprogress bar that displays the current position of the audio file. It also supports setting arbitrary positions using theprogress bar.
The app will automatically download the speechI 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:
- For Android devices: make sure you have a wired connection from your phone to your Mac/PC, then run
ionic cordova run android --prodin terminal. - For iOS devices: make sure you have a Mac, and run
ionic cordova prepare ios. Then use Xcode to open up the project and install it to your iOS devices.
- Android
- iOS
Thanks to the following posts and sources, I was able to come up with this solution:
- Help: Using Cordova Media to create progress bar with ion-range
- Ionic Component: Range
- MediaManager isn't getting the correct duration #42
- Cordova Media Capture - Find duration of audio file
Created byMichael Xieyang Liu
Last updated: Aug 20, 2019
About
A simple audio player created with Ionic 4+ / Angular 8+ (updated in Aug 2019)
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.


