BOTÃO/Iframe API


Coloque "src" atributo no HTML iframe para:

https://yt2mp3s.me/@api/button/{format}/{YouTube-Video-ID}

...Onde {format} é um dos seguintes:

  • "mp3" : por MP3 Resultados
  • "videos" : por Vídeo w/Áudio Resultados
  • "mergedstreams" : por Merged Video + Audio Resultados
  • "videostreams" : por Vídeo-Somente Resultados
  • "audiostreams" : por Áudio-Somente Resultados

...e {YouTube-Video-ID} é uma válida vdeo ID do YouTube.

O código resultante do iframe e a saída correspondente devem parecer um dos seguintes, exemplo:

<iframe class="button-api-frame" src="https://yt2mp3s.me/@api/button/mp3/CevxZvSJLk8" width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

<!-- Optional script that automatically makes iframe content responsive. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/3.5.14/iframeResizer.min.js"></script>
<script>iFrameResize({}, '.button-api-frame');</script>

...gera isso:

<iframe class="button-api-frame" src="https://yt2mp3s.me/@api/button/videos/CevxZvSJLk8" width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

<!-- Optional script that automatically makes iframe content responsive. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/3.5.14/iframeResizer.min.js"></script>
<script>iFrameResize({}, '.button-api-frame');</script>

...gera isso:

<iframe class="button-api-frame" src="https://yt2mp3s.me/@api/button/mergedstreams/CevxZvSJLk8" width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

<!-- Optional script that automatically makes iframe content responsive. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/3.5.14/iframeResizer.min.js"></script>
<script>iFrameResize({}, '.button-api-frame');</script>

...gera isso:

<iframe class="button-api-frame" src="https://yt2mp3s.me/@api/button/videostreams/CevxZvSJLk8" width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

<!-- Optional script that automatically makes iframe content responsive. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/3.5.14/iframeResizer.min.js"></script>
<script>iFrameResize({}, '.button-api-frame');</script>

...gera isso:

<iframe class="button-api-frame" src="https://yt2mp3s.me/@api/button/audiostreams/CevxZvSJLk8" width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

<!-- Optional script that automatically makes iframe content responsive. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/3.5.14/iframeResizer.min.js"></script>
<script>iFrameResize({}, '.button-api-frame');</script>

...gera isso: