Any chance you guys can do a bunny.net integration so we could upload the files to their cdn and streeam them from their servers?
I asked them if it was possible to stream mp3’s from their CDN and they said yes and told me how. I figured I shared it with you cause this could help keep the websites lean and fast.
Here’s the instructions they gave me.
“It is possible, you would create a new Storage Zone, upload the MP3s or similar files into there, connect it to a new Pull Zone.
You will get publicly accessible MP3s, which you can link to a music player - for example, <audio> in HTML5.”
Here are the respective API docs to create the integration.
Storage API docs: https://docs.bunny.net/reference/storage-api
CDN Pull Zone: https://docs.bunny.net/reference/pull-zone
This is something we might add to our roadmap if we receive more user requests about it.
Does Bunny.net give you a specific public URL that link to your media file? if so, can you send it to me so I can check if it works?
Max from the Sonaar.io Crew
Hi Max. Yes sure. Will do so once back home. On the road with no access to my comp right now.
Hi, The MP3 Player can stream https://mhmmkt.b-cdn.net/justice-league.mp3But you have to select the waveform type Synthetic https://d.pr/i/vEAtLkThe dynamic wave is not allowed
Alexandre from the Sonaar.io Crew
Thanks Alexandre. Is that good or bad?
Hi Jaime, The best is to have the option between synthetic & dynamic, but Synthetic still a good option
The Synthetic loads by far faster than the dynamic wave, but its form is fake. It is not related to the audio for real.