andreipitis / ASPVideoPlayer

A simple video player that allow animations to be performed on the view during playback.
MIT License
89 stars 43 forks source link

Foreground problem #54

Closed alperengezgin closed 2 years ago

alperengezgin commented 3 years ago

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)

stale[bot] commented 3 years ago

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.