None of the above solutions worked for me, so here is what I did:
NSNotificationCenter.defaultCenter().addObserver(self, selector: Selector("moviePlayerLoadStateDidChange"), name: MPMoviePlayerLoadStateDidChangeNotification, object: nil) func moviePlayerLoadStateDidChange() { let loadState = moviePlayerController?.loadState if loadState == MPMovieLoadState.Unknown { moviePlayerController?.contentURL = currentmovieURL moviePlayerController?.prepareToPlay() } }
I think the problem is that when the foraward search button is pressed, it wants to go to the next video, so the download indicator appears. By listening to the download status change event, you can specify what should be for the next video, and if you donβt have one, you can just give it the same URL.
source share