-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
html5 Music Source #52
Comments
Currently this app relies on native functionality to generate the notification, remote controls, manage the audio session etc. If you want to use use the media session stuff in Chrome, I have implemented in a browser before, not sure if it works on Android but here is my code if it helps you, you then handle the notifications pretty much the same way you do with this plugin. If you take this approach using HTML5 audio and the chrome mediasession then you don't need this plugin.
|
hey thank you very much for taking the time & explaining it, i'm not an expert on writing codes, what i can sxplain to you is that i'm using a basic cordova app to show my website where music is stored on both andriod & ios |
Install the Cordova-plugin-media and use the native audio functions together with this plugin. That will take care of everything for you. |
thanks man, well appreciated will try this, |
hello,
i've been trying to make this plugin work on my app that play music from an html web source & not from the device,
when the html source is loaded to chrome on android it shows the music playing on the device lock screen,
when the same html link is opened & played from the android app nothing shows on the locked screen,
i read that The Media Session API is supported in Chrome only, so is there a way to make it work in cordova android ?
by the way it works with no issue on the IOS side,
regards
The text was updated successfully, but these errors were encountered: