-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[BUG]: DOCS: iOS play in background documentation may be outdated now or could be rewritten #3770
Comments
My video stops playing when the device is locked on iOS. Is there something I need to change? |
Initial issue I posted is fixed. Tested on 6.2.0 iOS 15. |
Yes, there is a prop, see the wiki. Likely https://thewidlarzgroup.github.io/react-native-video/component/props#playwheninactive. |
Accidentally closed this issue, this is still an issue from what I'm seeing |
This issue is stale because it has been open for 30 days with no activity. If there won't be any activity in the next 14 days, this issue will be closed automatically. |
Version
6.0.0
What platforms are you having the problem on?
iOS
Architecture
Old architecture
What happened?
`
Play in background on iOS
To enable audio to play in background on iOS the audio session needs to be set to
AVAudioSessionCategoryPlayback
. See [Apple documentation][3] for additional details. (NOTE: there is now a ticket to expose this as a prop )`
This may need to be updated since 310 is closed and might not exactly relate to exposing a prop for playing in the background on iOS.
Reproduction
repository link
Reproduction
Viewable on https://thewidlarzgroup.github.io/react-native-video/other/misc#play-in-background-on-ios
The text was updated successfully, but these errors were encountered: