IPhone H5 uses audio to play, how to solve the problem that the message screen cannot be played?

call Baidu speech synthesis rest api to listen to books in H5, and Android can play non-stop when the screen is black. However, as long as the current voice behind the black screen ends, the iPhone cannot continue to play the follow-up voice. Click continue to play after unlocking the screen. Is there any good way to solve this?

Dec.23,2021

it's best not to write


you can use safari, but other browsers don't seem to be able to

Menu