Hi, @Mia Higgins
If you haven't already, please check and go to "Start" > "Settings" > "System" > "Power & sleep". Under "Sleep", check the times set for battery power and when plugged in. Keep your preferred sleep times for now.
Please test playing the same media with the charger plugged in, then test again with it unplugged. Keep the laptop lid open and make sure the battery has enough charge.
To help narrow down the issue:
- Does it go to sleep when plugged in, on battery power, or both?
- Which app or browser are you using to play the media?
- Does playback stop completely, or does only the screen turn off while the audio continues?
Click "Add comment" to let me know.
Thanks!