Re: Video Player Controls?
Re: Video Player Controls?
- Subject: Re: Video Player Controls?
- From: Dave <email@hidden>
- Date: Wed, 17 May 2017 14:40:25 +0200
Hi,
Should have said - this is an iOS project. It would be great if I could just get the same graphics for the controls as the Main Player, I could easily wire up my own action handlers…..
Cheers
Dave
> On 17 May 2017, at 13:14, Charles Jenkins <email@hidden> wrote:
>
> If you’re doing your work on the Mac, there’s an available Apple demo, AVSimplePlayer, which demonstrates how to wire up KVO (in Obj-C) in order to provide playback controls. I was never able to get it working after porting to Swift, but it works fine in Obj-C.
>
> On Wed, May 17, 2017 at 7:05 AM, Dave <email@hidden <mailto:email@hidden>> wrote:
>
> Hi All,
>
> (The content of the original message seems to have disappeared!)
>
> I’m using AVPlayer and AVPlayerLayer to play a movie in a view. However when I do this I lose the Video Playback Controls (Play/Pause/Fast Forward etc) I get when using AVPlayerViewController. Is there a class to handle displaying and responding to these controls or do I have to completely roll my own, with my own graphics etc?
>
> Thanks a lot
>
> All the Best
> Dave
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden <mailto: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 <http://lists.apple.com/>
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden <mailto:email@hidden>
>
>
> --
>
> Charles
_______________________________________________
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