24 lines
649 B
Markdown
Raw Normal View History

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