MPMoviePlayerViewController method click on pause

Hello everyone I'm using MPMoviePlayerViewController and I want to know if there is a method that can tell me when the user clicks on the Pause button for the video, like an observer?


-------------Problems Reply------------

You should use MPMoviePlayerController instead :

Movie Player Notifications The MPMoviePlayerController class generates numerous notifications to keep your application informed about the state of movie playback. In addition to being notified when playback finishes, interested clients can be notified in the following situations:

  • When the movie player begins playing, is paused, or begins seeking forward or backward
  • When the scaling mode of the movie changes
  • When the movie enters or exits fullscreen mode
  • When the load state for network-based movies changes
  • When meta information about the movie itself becomes available
  • For more information, see the Notifications section in this document.

Category:iphone Views:0 Time:2010-12-15

Related post

Copyright (C), All Rights Reserved.

processed in 0.094 (s). 11 q(s)