To play YouTube in the background, start by opening the YouTube app and playing your desired video. Then, press the home button; the video will stop. For iOS, swipe to access the Control Center, where you can resume playback. On Android, you can use picture-in-picture mode or a browser for background play with the YouTube site.