Closed YouZoudeFish closed 3 years ago
The develop environment is: Xcode 12.3 & iOS 14.3 Has tried add : configuration.mediaTypesRequiringUserActionForPlayback = WKAudiovisualMediaTypeNone; but it doesn't work.
Finally, find a way to solved the problem....although the solution seems to be weird, but it actually works....Fwords
@YouZoudeFish dude what was the solution? Saying you solved it, but not saying how is really harsh. Please share if you still recall.
Here is the app sence: VC A loads WKWebView(webview),webview loads urlRequest to play a video. But when video starts playing, Xcode console outputs errors like this: but it does not affect video to play, it affects when App entering backgroud, and reactive in foreground. the effect is the video can't continue playing. So...How to resolve this problem...... Thanks for comment firstly......