The secret sauce is watching QTMovieRateDidChangeNotification. On Feb 29, 2012, at 6:06 AM, Eric Slosser wrote:
> I have a QTMovieView, I'd like to find out when the user clicks the <play> > control. > > So I subclass it, and override 'play:'. My 'play:' is never called. > > I couldn't find a notification or delegate method corresponding to 'movie did > start playing'. I tried QTMovieStatusStringPostedNotification, but am not > getting any of those. > > I could implement 'movieShouldTask:', and derive 'did start playing' by > watching [movie time], but that's polling, and I'm hoping to avoid it. > > Any pearls? _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com