MediaElement: Disable background playback #2350
imadofficial
started this conversation in
New Feature Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What I'm trying to do
I have this feature in my .NET MAUI app where it can play songs off of my server. It works great (thanks Gerald & the .NET MAUI team for making this feature great!). Now, i wanted to expand even further by adding a feature I call "Music Canvas". However, an issue erose quickely. That issue being the fact that PiP (Picture in Picture) is enabled as well as the lockscreen widgets for both iOS & Android. With no way seemingly to turn it off.

Feature Description
Would it be possible to have a switch in the MediaElement instance where i disallow it from playing in the background & displaying a lockscreen widget?
Beta Was this translation helpful? Give feedback.
All reactions