Kατεβάσετε την εφαρμογή android του blog! DownLoad

Ενσωματώστε Youtube Converter mp3 στο site σας.

Written By Greek Port on Τετάρτη, 12 Ιουλίου 2017 | Ιουλίου 12, 2017


Ίσος ένα τέτοιο πράγμα μπορεί να το έψαχνε κάποιος.
Μπορείτε να το δείτε Live Demo εδώ.
Παρακάτω είναι ο κωδικός ενσωμάτωσης στο site σας.









Developers

Do you operate your own website? Do you want to give your users the opportunity to convert YouTube videos to mp3 or mp4 files? We'll show you, how easy it is to insert our api into your website.
  • Our api offers you following services
  • • Conversion of videos to mp3 (audio) or mp4 (video) files
  • • Conversion of videos up to a length of 2 hours
  • • Conversion of videos which are blocked or not available in your or other countries (deleted videos can not be downloaded)
  • • Responsive design (the api readjustes to the right display size - whether the user is using the computer, mobile phone or tablet)
  • • The user is staying on your website and won't be forwarded to another website
  • • Dropbox integrated - the user is able to save the converted file directly into his dropbox account (only iFrame API)

iFrame API

Example [iframe]
<iframe src="https://ycapi.org/iframe/" width="600" height="170" scrolling="no" style="border:none;"></iframe> 

Example [iframe / mp3]
<iframe src="https://ycapi.org/iframe/?v=KMU0tzLwhbE&f=mp3" width="600" height="170" scrolling="no" style="border:none;"></iframe>

Example [iframe / mp4]
<iframe src="https://ycapi.org/iframe/?v=KMU0tzLwhbE&f=mp4" width="600" height="170" scrolling="no" style="border:none;"></iframe>
Download example file: iFrame API
  • Parameters (optional)
  • v [youtube video id] - must contain a valid 11 digits YouTube video id (KMU0tzLwhbE)
  • f [format] - must contain a supported format (mp3 or mp4)

Button API

Example [mp3]
<iframe src="https://ycapi.org/button/?v=KMU0tzLwhbE" width="320" height="38" scrolling="no" style="border:none;"></iframe>
  
Example [mp3 / font-color / background-color]
<iframe src="https://ycapi.org/button/?v=KMU0tzLwhbE&fc=#ffffff&bc=#000000" width="320" height="38" scrolling="no" style="border:none;"></iframe>

Example [mp3 / title]
<iframe src="https://ycapi.org/button/?v=KMU0tzLwhbE&t=1" width="320" height="76" scrolling="no" style="border:none;"></iframe>

Example [mp3 / click]
<iframe src="https://ycapi.org/button/?v=KMU0tzLwhbE&c=1" width="320" height="38" scrolling="no" style="border:none;"></iframe>

Example [mp4]
<iframe src="https://ycapi.org/button/?v=KMU0tzLwhbE&f=mp4" width="320" height="38" scrolling="no" style="border:none;"></iframe>
Download example file: Button API
  • Parameters (required)
  • v [youtube video id] - must contain a valid 11 digits YouTube video id (KMU0tzLwhbE)
  • f [format] - must contain a supported format (mp3 or mp4)
  • Parameters (optional)
  • fc [font-color] - must contain a valid hex color code (#ffffff)
  • bc [background-color] - must contain a valid hex color code (#000000)
  • t [title] - must be 1 if t is true the title of the video will be added to the button
  • c [click] - must be 1 if c is true the conversion will start with a click of the button (will show Download MP3/MP4 before clicked)

Example [mp3 / href]
<a href="https://www.youtube.com/watch?v=KMU0tzLwhbE" target="_blank" class="y2m">Developers</a>

Example [mp3 / data-href]
<a href="" data-href="https://www.youtube.com/watch?v=KMU0tzLwhbE" target="_blank" class="y2m">Developers</a>

Example [mp4 / href]
<a href="https://www.youtube.com/watch?v=KMU0tzLwhbE" target="_blank" class="y2m mp4">Developers</a>

Example [mp4 / data-href]
<a href="" data-href="https://www.youtube.com/watch?v=KMU0tzLwhbE" target="_blank" class="y2m mp4">Developers</a>

<script type="text/javascript" src="https://ycapi.org/js/link.js"></script>

0 σχόλια:

Δημοσίευση σχολίου

 
berita unik