简体   繁体   中英

Browser in IOS devices doesn't auto play sound in background

I have coded a small web page. I need to play audio sound in background when opening first site. In Window browser or Android browser work perfectly, but in IOS browser it done't work at all. so does anyone have any solution?

This is not possible due to security reasons. User have to interact with the website before playing a background sound and also the tab should be focused when playing the file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM