• 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: QTMovieLayer and movie controls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QTMovieLayer and movie controls


  • Subject: Re: QTMovieLayer and movie controls
  • From: David Duncan <email@hidden>
  • Date: Mon, 1 Jun 2009 09:40:04 -0700

On Jun 1, 2009, at 9:29 AM, Ramakrishna Vavilala wrote:

Now my main issue is that I want to add video controls (Play, Pause, time
Slider) to control the movie: Is there an already available solution for
it?

Nothing that I'm aware of.

I have the following options:-

1. Create a sub-view with controls -> buttons and a slider. But it seems
that adding subviews to layer hosting views is a no - no.

Correct. You could however add them as a subview of the superview for the hosting view and then position them over the hosting view.


2. Create a layer for controls and implement controls as CALayers.

This is also an option, although you would need to do hit testing and such yourself. For that reason alone I would probably go with option 1.
--
David Duncan
Apple DTS Animation and Printing


_______________________________________________

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: 
 >QTMovieLayer and movie controls (From: Ramakrishna Vavilala <email@hidden>)

  • Prev by Date: Re: Several Questions
  • Next by Date: Re: NSTableView - setting row heights
  • Previous by thread: QTMovieLayer and movie controls
  • Next by thread: Re: QTMovieLayer and movie controls
  • Index(es):
    • Date
    • Thread