I am developing an iPhone application in which I play videos using MPMoviePlayerController
.
Sometimes, some of the videos don't play immediately after I call play on MPMoviePlayerController
.
I have called prepareToPlay and in the notified method of MPMediaPlaybackIsPreparedToPlayDidChangeNotification
, I am calling play on MPMoviePlayerController
.
Could someone help in identifying the problem here?
Thanks, Laxmilal