• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: play time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Fwd: NSPasteboardItem kPasteboardTypeFileURLPromise
  • Next by Date: Re: How to: NSTableView redisplay
  • Previous by thread: play time
  • Next by thread: Fwd: NSPasteboardItem kPasteboardTypeFileURLPromise
  • Index(es):
    • Date
    • Thread