0
     self.videoController = [[MPMoviePlayerController alloc]initWithContentURL:url];

    if([[UIScreen mainScreen] bounds].size.height>480)
        [self.videoController.view setFrame:CGRectMake(0, 44, _viewVideoArea.frame.size.width, _viewVideoArea.frame.size.height)];
    else
        [self.videoController.view setFrame:CGRectMake(0, 44, _viewVideoArea.frame.size.width, 383)];

    [self.viewVideoArea addSubview:self.videoController.view];

    [self.videoController prepareToPlay];
    [self.videoController play];

Above code is my initialisation of my player. Large size video playing when the player not in full screen mode but not playing in fullscreen mode. Then also any button in fullscreen mode not respond(Including Done button).

Link Also try this for respond done button but not working.. Dont know what is the issue going on.

Can any one pls help me to solve my prob

Community
  • 1
  • 1
TamilKing
  • 1,643
  • 1
  • 12
  • 23

1 Answers1

0

Have you tried

self.videoController.controlStyle = MPMovieControlStyleFullscreen;
Neva
  • 1,330
  • 9
  • 11