mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 09:01:07 +08:00
25 lines
820 B
Markdown
25 lines
820 B
Markdown
![]() |
<a style="float:right;font-size:12px;" href="http://github.com/danielsogl/awesome-cordova-plugins/edit/master/src/@awesome-cordova-plugins/plugins/music-controls/index.ts#L28">
|
||
|
Improve this doc
|
||
|
</a>
|
||
|
|
||
|
# Music Controls
|
||
|
|
||
|
```
|
||
|
$ ionic cordova plugin add cordova-plugin-music-controls2
|
||
|
$ npm install @ionic-native/plugins/music-controls
|
||
|
```
|
||
|
|
||
|
## [Usage Documentation](https://ionicframework.com/docs/native/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
|