It used to automatically do background playback, but Google made them change it. Now you have to double tap the home button after you close the app, and click the play button.
2. Double click your home button and swipe it all the way to the left. The icon on the right should turn from the Music App icon to the Youtube App Icon, just press play afterwards.