Comments (4)
Same issue here. Even when going to the control center on iOS, the video stops playing and onPlaybackStatusUpdate
's status isPlaying
becomes false
.
from playlist-example.
Potentially you're missing this from your app.json (or app.config.js)
{
"expo": {
...
"ios": {
...
"infoPlist": {
...
"UIBackgroundModes": [
"audio"
]
}
}
}
}
Source: https://docs.expo.dev/versions/latest/sdk/audio/#playing-or-recording-audio-in-background-ios
from playlist-example.
Potentially you're missing this from your app.json (or app.config.js)
{ "expo": { ... "ios": { ... "infoPlist": { ... "UIBackgroundModes": [ "audio" ] } } } }
Source: https://docs.expo.dev/versions/latest/sdk/audio/#playing-or-recording-audio-in-background-ios
Well in my case the video pauses also (even when going into the Control Center on iOS), do you think it's linked to this?
from playlist-example.
Ah I missed that you mentioned video, I'm not sure if background video play is possible with expo-av
. Only recently looked at getting audio files to work in the background and this was one of the things we had missing in our project
As an aside, we're already looking at an alternative package for audio due to a potential limitation: expo-av
doesn't seem to expose/connect-to any native OS controls (e.g. control centre, lock screen) to show and control the currently playing media, which is a deal breaker for us
from playlist-example.
Related Issues (20)
- Error in https://expo.io/@community/playlist HOT 2
- How to play audio file as soon as screen is loaded HOT 3
- can't read .wav file HOT 1
- Error on startup: Native module cannot be null HOT 5
- GetStatusAsync dont working from another files localy!
- demo script can no longer play video HOT 1
- App don't work HOT 1
- Full screen video useNativeControls is displaying after setting false
- Can you publish to expo so the example works again
- Update to SDK 38 HOT 2
- Loading delay in safari browser
- uri remote not working with query string parameter on iOS
- How to run this app? HOT 2
- Doesn't work well with Android
- Does it work with m3u8?
- update the example to function(react hooks) from class HOT 2
- onseek function
- Whats the license of this?
- undefined is not an object (evaluating 'sound.stopAsync') New to development if anyone could help me out that would be awesome! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playlist-example.