How to play multiple audio files continuously on a web page?

I need to play N audio files sequentially on the web page.

the initial idea is to use js to control the < video > tag and play it one by one sequentially, but after playing one, it takes a while to load the next audio file from the network, which leads to a brief pause. How can the problem of pause be solved?

wants to preload the audio file with the preload attribute of the < video > tag, but the mobile browser and Wechat"s built-in browser do not support the preload attribute.

< hr >

add that it is found that some browsers do not support the preload attribute, such as https://developer.mozilla.org.

.
Mar.31,2021

provides an idea to pre-insert all video tags into the document and then display the first one, and the first one shows that the second


audio can be preloaded, but switching also takes time.
preloading does not necessarily use the preload property of video. You can consider loading it in other ways (when requested, make sure the client can get the data and cache it), and you can start from the cache when loading again.


it is found that some browsers do not support the preload attribute, as follows: https://developer.mozilla.org.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b30cfe-3410e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b30cfe-3410e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?