How play a YouTube video in the background on an iPad?
Follow these steps: 


Open Safari on your iPad
Go to www.youtube.com and search for a video
When the video you choose is playing, press the home button
The music will stop playing
Slide from the button to the top (Control Center)
Press the play button


Normally, you can now hear the audio from your YouTube video..