I have an MPMoviePlayerController with which I play a movie. I have a movieControlMode MPMovieControlModeHidden. I need this behavior: while a movie is playing, if a signal appears on the screen, stop it, release the movie player. How can I do that?
mMoviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:mMovieURL];
[mMoviePlayer setOrientation:UIDeviceOrientationPortrait animated:NO]
mMoviePlayer.movieControlMode = MPMovieControlModeHidden;
[mMoviePlayer play]
How to add a goal / event handler?
10 times in advance! Danail
source
share