Re: QTMovieLayer and movie controls
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