Closed defagos closed 3 years ago
Reported to Apple as FB8722590.
A possible partial workaround is to use UIApplicationWillResignActiveNotification
instead of UIApplicationDidEnterBackground
. This has two negative side-effects, though:
I tried to hook earlier into the application lifecycle (the missing willEnterForeground) but could not solve the issue.
Seems to work with iOS 14.2 beta 2. We’ll wait until the final version, which should not be far away.
Still fixed in 14.2 GM. We can consider this issue has been resolved, though it will never work in iOS 14.0 and 14.1 of course.
With iOS 14 changes now prevent background video playback from working. With the inline demo:
It is likely that this cannot be fixed at all. We will attempt to discuss this issue with Apple engineers to know if this is desired behavior or a regression, and if a fix is planned.
If no fix is planned or if this is intended behavior, we will have to either drop this feature entirely for all supported OSes (simple) or to update our code to disable it for iOS 14.