Hi, I think picture in picture is done automatically if the app have been optimised fot it, YouTube will not allow you to do it unless you pay for membership and Iplayer i think the app is not optimised for it.
alternatively you can open almost every app in pop up view.
:).