3

So QTMovies have QTMovieDidEndNotification, but no QTMovieDidStartNotification. How can I be notified when a QTMovie starts playing?

Chris Hanson
  • 54,380
  • 8
  • 73
  • 102
Dan
  • 2,766
  • 3
  • 27
  • 28

2 Answers2

5

Answering my own question: the QTMovieRateDidChangeNotification is activated when the movie starts to play. Of course the documentation doesn't actually document that. Bah.

Dan
  • 2,766
  • 3
  • 27
  • 28
3

Start and pause are viewed by Quicktime as rate changes to 100% and 0% respectively. QTMovieRateDidChangeNotification is what you want, and check for the appropriate rate.

Chuck
  • 234,037
  • 30
  • 302
  • 389