When you paste a YouTube link into ramrom.io and pick a format, some of the download buttons do something different from the rest. Most formats are proxied: my server fetches the file from the provider and hands it to you. The YouTube formats are labelled "direct", which means your browser fetches the file itself, straight from the provider's tunnel, and my server never touches the bytes. Here is why that split exists, and what it actually means for you.
Why the proxy works for everything else
For TikTok, Instagram and Facebook, the flow is simple. My PHP script, resolve.php, asks the provider for a download URL. Then a second endpoint, the download proxy, fetches that URL with cURL and streams it back to you with the right headers: a real filename, the right MIME type, and a Content-Disposition header so the browser downloads instead of playing the video in the tab.
Proxying has real advantages. I can check the file before I hand it over β is it actually an MP4, or an HTML error page wearing a .mp4 name?β¦