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 <d...@looktowindward.com> 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 (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:
> https://lists.apple.com/mailman/options/cocoa-dev/cejwork%40gmail.com
>
> This email sent to cejw...@gmail.com




-- 

Charles
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to