I open any video and i close viewController after 5 second. Then, i open another video and i press phone home button for app did enter background. I wait until videos time after open app (foreground) and video continue but old video (first opened video) is play again.(just voice).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I open any video and i close viewController after 5 second. Then, i open another video and i press phone home button for app did enter background. I wait until videos time after open app (foreground) and video continue but old video (first opened video) is play again.(just voice).
My Close Button Code
self.videoPlayer.videoPlayerControls.stop()
self.videoPlayer.videoAssets.removeAll()
self.videoPlayer.delegate = nil
self.videoPlayer = nil
self.dismiss(animated: true, completion: nil)