|
|
☰OPEN |
|---|
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 or mp4 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)
• Conversion of videos to mp3 or mp4 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://shortener.ma/iframe/" width="600" height="360" scrolling="no" style="border:none;"></iframe> Example [iframe / mp3] <iframe src="https://shortener.ma/iframe/?v=gIYaTs1Kw90&f=mp3" width="600" height="360" scrolling="no" style="border:none;"></iframe> Example [iframe / mp4] <iframe src="https://shortener.ma/iframe/?v=gIYaTs1Kw90&f=mp4" width="600" height="360" scrolling="no" style="border:none;"></iframe>
Parameters (optional):
v [youtube video id] - must contain a valid 11 digits YouTube video id (gIYaTs1Kw90)
f [format] - must contain a supported format (mp3 or mp4)
v [youtube video id] - must contain a valid 11 digits YouTube video id (gIYaTs1Kw90)
f [format] - must contain a supported format (mp3 or mp4)
Link API
(required) :
<script type="text/javascript" src="https://shortener.ma/mp3/js/link.js"></script>
<script type="text/javascript" src="https://shortener.ma/mp3/js/link.js"></script>
Example [mp3 / href] <a href="https://www.youtube.com/watch?v=gIYaTs1Kw90" target="_self" class="y2m"> Click to Download !!</a>
EXAMPLE [mp3 / href] : Click to Download !! Example [mp3 / data-href] <a href="" data-href="https://www.youtube.com/watch?v=gIYaTs1Kw90" target="_self" class="y2m"> Click to Download !!</a>
EXAMPLE [mp3 / data-href] : Click to Download !! Example [mp4 / href] <a href="https://www.youtube.com/watch?v=gIYaTs1Kw90" target="_self" class="y2m mp4"> Click to Download !!</a>
EXAMPLE [mp4 / href] : Click to Download !! Example [mp4 / data-href] <a href="" data-href="https://www.youtube.com/watch?v=gIYaTs1Kw90" target="_self" class="y2m mp4"> Click to Download !!</a>
EXAMPLE [mp4 / data-href] : Click to Download !!
Parameters (required):
href or data-href - must contain a valid YouTube video url (https://www.youtube.com/watch?v=gIYaTs1Kw90 or https://youtu.be/gIYaTs1Kw90)
class - must contain y2m / if you would like to convert to mp4 (y2m mp4)
href or data-href - must contain a valid YouTube video url (https://www.youtube.com/watch?v=gIYaTs1Kw90 or https://youtu.be/gIYaTs1Kw90)
class - must contain y2m / if you would like to convert to mp4 (y2m mp4)