Draw from the bottom to bring up the control center, press and hold the recording screen, and click the microphone to display the red icon.
When recording the screen again, you can record the system sound (including the sound of the music player).