Listening to YouTube audio on an iPhone is only possible if you purchase a YouTube Premium, however there is a way to allow you to listen to video when your iPhone is locked.
YouTube is quite popular. Google has chosen to place several features of the video hosting service behind Paywall, for example: free viewing, SharePlay on iOS, and the ability to listen to YouTube audio on iPhone when the app is closed.
Unfortunately, the cost of YouTube Premium is $ 11.99 per month. In order not to need to subscribe to the app and pay this amount then you will be introduced to the information below, which will help you listen to podcasts, music and lectures when your iPhone is locked and in your pocket.
1. Launch Safari on your iPhone and visit youtube.com, then search for the video whose audio you want to listen to.
2. Next, tap the aA button in Safari’s address bar, then select Request Desktop Website from the popup menu.
3. Tap the Play button to start the chosen video
4. Next, lock your iPhone with the device’s Side button.
5. The audio will pause, but you can just tap the Play button in the Lock Screen playback controls widget to resume listening.