The stock app can do it there's an option in the settings to enable it.
Looking for a recommendation for an app to allow YouTube to play in the background on an Android phone.
Just out of curiosity why would you want youtube to be playing in the background?