Picture-in-picture is currently only available to:
YouTube Premium members on Android mobile devices, worldwide.
US Android users running Android Oreo or greater, with ad supported PiP playback.
Picture-in-picture shrinks the video into a small player that you can move around your home screen and position over other apps. With this feature enabled, you can continue watching YouTube videos while using other apps on your mobile device.