Search code examples
iphonexcodeipadmpmovieplayercontroller

Playing Multiple Videos on iPAD


I am facing some problem in playing multiple videos on iPAD. I am trying to play multiple thumbnail videos on the same view. You can say its much like the CCTV camera.Well, i have no clue. Please help me. Thanks in advance...


Solution

  • MPMoviePlayerController will allow multiple instances, but only one of them can be playing their movie at any given time.

    It mentions it here: http://developer.apple.com/library/ios/#documentation/mediaplayer/reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html

    From the article:

    Note: Although you may create multiple MPMoviePlayerController objects and present their views in your interface, only one movie player at a time may play its movie.