Since these files aren't from the App Store, they must be "sideloaded" using a computer or a specialized on-device manager. Download the IPA:
Before you risk your security, consider the official route. Is YouTube IPA worth the hassle? Youtube Ipa File