iPad.
MPMoviePlayerController
.
Each object MPMoviePlayerController
has a property view
, you just need to set frames views
on different objects MPMoviePlayerController
according to what you want it to look like.
Here is a simple example using two MPMoviePlayerController
ans objects 2 different frames
:
MPMoviePlayerController *player =
[[MPMoviePlayerController alloc] initWithContentURL: myURL];
[[player view] setFrame: yourFrame1];
[myView addSubview: [player view]];
[player play];
MPMoviePlayerController *player2 =
[[MPMoviePlayerController alloc] initWithContentURL: myURL2];
[[player2 view] setFrame: yourFrame2];
[myView addSubview: [player2 view]];
[player2 play];
source
share