picture in picture for tvOS

Is picture in picture feature available for AVPlayerViewController on tvOS 9 and above ?

Accepted Reply

The picture in picture feature is not available on tvOS the same way it's available for iPad. Please file an enhancement request through our <Bug Reporting Tool> to let our tvOS engineers know that this is a requested feature. Here is the link: https://developer.apple.com/bug-reporting/


This is still possible to accomplish by manipulating the AVLayerPlayer. However, the video view will only be available within your application. Here's a link to the reference here:

<https://developer.apple.com/library/tvos/documentation/AVFoundation/Reference/AVPlayerLayer_Class/index.html#//apple_ref/doc/uid/TP40009738


Also, check out this Github for a "floating" action button. Much of the custom auto layout needed for a "picture in picture" view will be very similar, if not, the same.

<https://github.com/lourenco-marinho/ActionButton>


Hope that helps!

Replies

The picture in picture feature is not available on tvOS the same way it's available for iPad. Please file an enhancement request through our <Bug Reporting Tool> to let our tvOS engineers know that this is a requested feature. Here is the link: https://developer.apple.com/bug-reporting/


This is still possible to accomplish by manipulating the AVLayerPlayer. However, the video view will only be available within your application. Here's a link to the reference here:

<https://developer.apple.com/library/tvos/documentation/AVFoundation/Reference/AVPlayerLayer_Class/index.html#//apple_ref/doc/uid/TP40009738


Also, check out this Github for a "floating" action button. Much of the custom auto layout needed for a "picture in picture" view will be very similar, if not, the same.

<https://github.com/lourenco-marinho/ActionButton>


Hope that helps!