How do I js the server mp3 file instead of opening it for playback on the html page?

how does the html page use js to download server mp3 files instead of opening them online for playback?

Mar.04,2021

<a href="file.mp3" download>mp3</a>

I don't know how your code works. There are two ways of thinking:
1. For server-side modification, see https://blog.csdn.net/say7512.
2.html code modification see http://www.w3school.com.cn/ta. using the download attribute of the a tag

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-1e9c522-18c7.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-1e9c522-18c7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?