Comments (3)
Try with this small template, It download a song pops an Alert and then you can push the "Play button"
https://github.com/GerardoLSJ/cordova-download-template-to-private-directory
I tested in 4 android devices, 4.1.2, 5.1, and two 6.0 and worked in all of them
from cordova-music-controls-plugin.
I solved the problem, apparently it was not running the event MusicControls.create, have to run an audio before it appears?
from cordova-music-controls-plugin.
I don't know why but it appears so, I try with an audio tag and the audio.play() (Avoiding the Media plugin) and it works with a little delay
var audio = document.getElementById("myAudio"); audio.play();
from cordova-music-controls-plugin.
Related Issues (20)
- Not running HOT 2
- Music control external controls stop working
- updateIsPlaying won't work and ios controls continuously pops up as "playing" HOT 1
- Plugin didn't work on iOS 11.4 HOT 5
- Plugin is responding to headphones buttons but when i press the volume up and volume down button. It would only increase the device volume but doesn't fire an event HOT 6
- Ionic 4 cordova-plugin-music-controls breaks build HOT 14
- Ionic Webview 2.4.0 removes WKSuspendInBackground HOT 2
- Not being able to include in new projects HOT 1
- Build failed: Task :app:compileDebugJavaWithJavac FAILED HOT 15
- Run in Background HOT 13
- iOS - Invalid Callback ID HOT 8
- iOS does not work HOT 5
- Music controls don't work HOT 2
- Ionic - Issue installation
- The song is constantly stuck! Need help! HOT 2
- Plugin crashes on iOS 13 HOT 12
- Controls are not firing HOT 2
- musicControl.destroy doesnt close the control in IOS HOT 2
- Does not work on iOS; HOT 9
- User kill app, notification not. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-music-controls-plugin.