简体   繁体   中英

Where/how can I host an audio file that provides an src embed tag ( . mp3, . ogg, and . wav.) for an audio player I coded

All the easily googled options for free audio hosting I am testing all provide their own iframe player or the embed code is a link to their website. The issue is, I don't need or want the built in player as I have built my own audio player. I just need a hosting service to provide an src that ends.mp3 or any type supported by the html5 audio tag. Anyone conquer this problem? I need your programming street knowledge, Thanks for reading. folks.

The solution that worked for me is as follows-

Dropbox

upload your file

click on Share button

generate a public download link, here is the example: https://www.dropbox.com/s/rANdoMGeneR4tedLink/my-file.mp3?dl=0

replace www in url by dl, also remove?dl=0 at the end

you now have a direct access url: https://dl.dropbox.com/s/rANdoMGeneR4tedLink/my-file.mp3

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