The following methods can be used to ensure that video playback is stopped without closing the screen:
Use ordinary video player software. If you really want to turn off the screen of your mobile phone, try not to listen to some music played from the webpage.
Or see if there are any power-saving optimization settings in your mobile phone, and pay more attention. Because normal mobile phones don't have this situation.
See if the background running of mobile phone software is set up.