The background concert will play automatically when the H5 Android phone opens the page for the first time, but the background music will stop after the page is refreshed. Is there any solution?

the background concert plays automatically when the H5 Android phone opens the page for the first time, but the background music stops after the page is refreshed. Is there a solution

Mar.04,2021

some mobile browsers have throttling control, that is, automatic playback is not allowed when users do not interact.
my suggestion for audio is to stop by default and start playback only when users have sliding behavior.
on the one hand, Wechat's built-in browser uc and other things are relatively unified and will not be played automatically.
on the other hand, when there is an audio tag rotation animation, the audio is not loaded but the animation is spinning all the time, which will be very embarrassing.

Menu