简体   繁体   中英

HTML, JS: Does loading audio need user interaction on mobile browsers?

Playing audio definitely needs user interaction on mobiles but, my question is does loading audio also need user interaction?

If yes, what I want to do is preload the audio so when the user taps the play button, the audio can start playing faster, as it has already started loading.

User interaction need to load and play the audio or video in mobile device, Mobile device avoiding auto play on audio and video for bandwidth limitation. Sorry i cant comment that's why i post in answer.

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