• 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: Custom progress bar for QTMovie??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom progress bar for QTMovie??


  • Subject: Re: Custom progress bar for QTMovie??
  • From: Chase Meadors <email@hidden>
  • Date: Wed, 21 Apr 2010 17:45:27 -0500

I thought as much. In fact, I might just add a myCurrentTime property to my subclass that is implemented with this mechanism. Just checking to make sure there wasn't anything I missed. Thanks!

On Apr 20, 2010, at 11:56 PM, Kyle Sluder wrote:

On Tue, Apr 20, 2010 at 8:09 PM, Chase Meadors <email@hidden> wrote:
Ideally, if QTMovie defined a currentTime property, I could use bindings or
a binding-like design to handle the implementation of some time text &
progress bar. However, QTMovie does not define it as a property. It appears
setCurrentTime is not meant as an accessor to the variable; it's not called
when current time changes. There also is no delegate method or anything that
is called when currentTime changes.

For something as real-time as video or audio, you can't provide a currentTime property that isn't interval-based. You'll need to set up a timer and periodically check the current time of the movie, and adjust your playhead accordingly.

--Kyle Sluder

_______________________________________________

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: 
 >Custom progress bar for QTMovie?? (From: Chase Meadors <email@hidden>)
 >Re: Custom progress bar for QTMovie?? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Determining preferred localizations
  • Next by Date: one button mouse right click
  • Previous by thread: Re: Custom progress bar for QTMovie??
  • Next by thread: Re: Custom progress bar for QTMovie??
  • Index(es):
    • Date
    • Thread