question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Always playing on background

See original GitHub issue

I got this working and it’s really good. Although, even when I’m setting playInBackground as false(and the default was also false), when I change the screen, the audio still playing…

Has anyone an idea?

Thanks,

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
franzejrcommented, Jan 10, 2018

I used playWhenInactive={false} and it doesn’t work 😕. Also, this also didn’t work for react-native-video only.

I will try to check these other events you pasted here. Thanks!

0reactions
Thanmai-Ccommented, Jan 16, 2018

@franzejr can you share a snippet of how u did that?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Music plays in the background even when app is not running!!
Even if the app is closed/not running in the background , music starts playing all of a sudden. And I cannot stop the...
Read more >
Turn off/Turn on Background Sounds ​When Media is Playing
hey everyone welcome back to my channel and here I am going to show you the tips to automatically manage Backgroud Sounds when...
Read more >
Is there an Android music player that plays always in ... - Quora
However, ES File Explorer built-in music player can play music in the background. It looks very basic but that's deceiving because it can...
Read more >
Videos always keep playing in background when turning ...
Videos always keep playing in background when turning screen off. EDIT: as of 3/2022, Settings>Video and Audio>Behavior>Minimize on app ...
Read more >
I'd like windows media player always running in background for
What I want is to make Windows Media Player running on my pc always as a service, in background, this way if my...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found