Reputation: 2804
So QTMovie
s have QTMovieDidEndNotification
, but no QTMovieDidStartNotification
. How can I be notified when a QTMovie
starts playing?
Upvotes: 3
Views: 1123
Reputation: 237080
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.
Upvotes: 3
Reputation: 2804
Answering my own question: the QTMovieRateDidChangeNotification
is activated when the movie starts to play. Of course the documentation doesn't actually document that. Bah.
Upvotes: 5