Use MPMoviePlayerController . You can add that as a subview of self.view.
For eg:
MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL: myURL];
[player prepareToPlay];
[player.view setFrame: myView.bounds]; // player's frame must match parent's
[self.view addSubview: player.view];
// ...
[player play];
Fore more details please check the apple doc link above.
Update:
NSURL *urlA1 = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"A1"ofType:@"mp4"]];
MPMoviePlayerController *moviePlayer =
[[MPMoviePlayerController alloc] initWithContentURL:urlA1];
moviePlayer.repeatMode = MPMovieRepeatModeOne;
[self.view addSubview:moviePlayer.view];
moviePlayer.movieSourceType = MPMovieSourceTypeFile;
// do capture action