Skip to content

GroupeBEL/ionic-audio-player

 
 

Repository files navigation

ionic-audio-player

This is a simple audio player created with Ionic 3.x / Angular 4.x

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 song Hotel California 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 --prod in terminal.
  • For iOS devices: make sure you have a Mac, and run ionic cordova build ios --prod. Then use Xcode to open up the project and install it to your iOS devices.

Ionic Native Plugins

Support Platforms

  • Android
  • iOS

UI Preview

Android

android

iOS

android

GIF

android

References

Thanks to the following posts and sources, I was able to come up with this solution:

Author

Created by Michael Liu

Last updated: July 25, 2017

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 54.7%
  • CSS 21.7%
  • HTML 19.5%
  • JavaScript 4.1%