Re: play time
Re: play time
- Subject: Re: play time
- From: Eric Slosser <email@hidden>
- Date: Wed, 29 Feb 2012 10:34:31 -0500
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 (email@hidden)
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:
This email sent to email@hidden
References: | |
| >play time (From: Eric Slosser <email@hidden>) |