I need to show two different videos at the same time within my iOS app. One video needs to be playing in the top half of the screen, and a separate video needs to be playing on the bottom half of the screen. I don’t need to have the stop/play/ffw/rew buttons enabled – just to show the videos playing. I have some of my own buttons to stop and start playback, which should affect both videos.
I tried using two MPMoviePlayerController views, but it will only allow one to be playing at any one time. I read that it’s possible to have two playing in separate ViewControllers – if so, do I simply need to create two UIViewControllers and add them to the parent viewcontroller?
Thanks for your help guys!
That is not possible on any multimedia framework level.
AVFoundation- (
AVPlayer) and MediaPlayer-Framework (MPMoviePlayerController) both only support a single video playback at a time.Update
The situation has changed. In fact, AVFoundation does permit multiple movie playbacks at a time. MediaPlayer still sticks towards the single playback at a time restriction.