Tip: picture-in-picture with YouTube on you iPad.
YouTube app doesn’t allow PiP. So, if you want PiP on your iPad: open YouTube on Safari. Put the video full screen, then click on the top right the PiP button. After this, your YouTube video will play PiP everywhere on your iPad. Moreover you can use other safari tab without any problem while PiP is playing.