📘 LinkFile Embed API Documentation

You can easily embed LinkFile download or stream players on your website or blog. Just use our simple <iframe> API — no authentication required.

1️⃣ Choose Your Embed Type

You can embed files in two ways:

2️⃣ Embed the Download Player

To embed a file download widget on your page, copy and paste this iframe:

<iframe 
  src="https://linkfile.io/api/embed/d/4P"
  width="100%"
  height="350"
  frameborder="0"></iframe>

Example live demo:

3️⃣ Embed the Stream Player

To embed a video or audio player that streams directly, use:

<iframe 
  src="https://linkfile.io/api/embed/s/4Q"
  width="100%"
  height="450"
  frameborder="0"
  allowfullscreen></iframe>

Example live demo:

4️⃣ Optional — Add Custom Styling

You can wrap the embed in your own styled container or control its dimensions. Example:

<div style="max-width:600px;margin:auto;border:1px solid #ddd;border-radius:8px;">
  <iframe src="https://linkfile.io/api/embed/d/4P" 
          width="100%" height="220" frameborder="0"></iframe>
</div>