Android-SmartWebView icon indicating copy to clipboard operation
Android-SmartWebView copied to clipboard

Music site

Open susl16c opened this issue 6 years ago • 5 comments

Tell me, if I build a music site in the application, when will I turn it off, will it play music?

susl16c avatar Mar 31 '18 05:03 susl16c

you have to test it on your own. I've not tested any music website on it.

mgks avatar Mar 31 '18 06:03 mgks

Yes, I already checked, I need to add that the site worked as a service, then when folding the music will play. Now it stops playing when the application is minimized.

susl16c avatar Mar 31 '18 07:03 susl16c

Oh Okay. So that's the way it is.

mgks avatar Mar 31 '18 10:03 mgks

Hey. I was just looking into this and this thing is a whole new work around that will take a lot of time. Meanwhile, I can provide you with some ways which you can try yourself until this repo updates with audio features.

  • First you need to add a separate/independent service that can run in the background even if your app is not in foreground.
  • For controls, you need a separate method clause for your Media Player.
  • If you need an instant solution, try adding sticky service to your app to keep the player in the foreground.

That's all I can do for now. You've to find a work around by yourself.

mgks avatar May 15 '18 19:05 mgks

Let's not close this problem until now, maybe someone will be able to respond and help us, in the future it can help other people and make the application more functional.

susl16c avatar May 18 '18 12:05 susl16c