定制 MPMoviePlayerController

1.  Hide the existing  system controls of the MPMobilePlayerController.

     MPMoviePlayerController * _videoPlayer;

  ...

  _videoPlayer.controlStyle = MPMovieControlStyleNone;

  ...

2.  Add your customized view with customized control buttoms (play, pause, stop, prev, next) or slider (volumn slider) to the _videoPlayer.view .

  These controls could be the handler of the MPMoviePlayerController's Event.

  ...

  _customView.frame = ...

  [_video.view addSubView:_customView];  

你可能感兴趣的:(controller)