2021-09-29 20:09:02 +08:00
|
|
|
# Music Controls
|
|
|
|
|
|
|
|
```
|
|
|
|
$ ionic cordova plugin add cordova-plugin-music-controls2
|
2021-09-29 21:19:55 +08:00
|
|
|
$ npm install @awesome-cordova-plugins/music-controls
|
2021-09-29 20:09:02 +08:00
|
|
|
```
|
|
|
|
|
2021-09-29 21:19:55 +08:00
|
|
|
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/music-controls/)
|
2021-09-29 20:09:02 +08:00
|
|
|
|
|
|
|
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
|
2021-09-29 20:38:45 +08:00
|
|
|
|
|
|
|
|
|
|
|
|