# Music Controls

```text
$ ionic cordova plugin add cordova-plugin-music-controls2
$ npm install @awesome-cordova-plugins/music-controls
```

## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/music-controls/)

Plugin Repo: [https://github.com/ghenry22/cordova-plugin-music-controls2](https://github.com/ghenry22/cordova-plugin-music-controls2)

Music controls for Cordova applications. Display a 'media' notification with play/pause, previous, next buttons, allowing the user to control the play. Handle also headset event \(plug, unplug, headset button\).

## Supported platforms

* Android
  * iOS
  * Windows