Raptor
Raptor

Reputation: 54258

How to get current playing time of MPMoviePlayerViewController after seeking?

How to get current playing time of MPMoviePlayerViewController after seeking ? Originally I am using a NSTimer to count the time played, but after scrubbing / seeking, the time recorded does not count the amount of time seeked.

Any way to know current time of video or amount of time scrubbed ?

Upvotes: 1

Views: 6221

Answers (1)

Guy Moreillon
Guy Moreillon

Reputation: 1013

The currentPlaybackTime property in the MPMediaPlayback protocol gives you that info.

Upvotes: 11

Related Questions