Skip to content
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

Remove video player when entering background correctly #1614

Merged
merged 2 commits into from
Jun 19, 2019

Conversation

jenshandersson
Copy link
Contributor

If controls={false} the background audio works on iOS. But when controls={true} it stops when app enters background. This PR unsets the AVPlayer from the AVPlayerViewController as well as the AVPlayerLayer.

@CHaNGeTe CHaNGeTe changed the base branch from master to release/4.4.2 June 19, 2019 19:11
@CHaNGeTe CHaNGeTe merged commit 92f7459 into TheWidlarzGroup:release/4.4.2 Jun 19, 2019
beauner69 pushed a commit to beauner69/react-native-video that referenced this pull request Oct 10, 2019
Remove video player when entering background correctly

(rebased from commit 92f7459)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants