iphoneobjective-cmpmoviewcontroller

play two video in iPhone simultaneously


I want to play two video in iPhone simultaneously.

There are two way to play video in iphone, One is use AVQueuePlayer. but in this controller I don't get how get the video playing is completed and how to restart video again.

Another way is MPMoviePlayerController . but in this controller I don't get how to seek video at particular time and also it is not able to play two video simultaneously as the AVQueuePlayer is able to play.

as a solution i am using AVQueuePlayer to play video and but can any one help me to restart video and get method to detect end point of the video. or know any other api to so this

Thanks in advance.


Solution

  • I have found the solution to play two video . You can use AVQueuePlayer to play video. Using this controller you can play two video at the same time .