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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com