Ratings | | Unique User Downloads | | Download Rankings |
Not yet rated by the users | | Total: 224 | | All time: 8,230 This week: 488 |
|
Description | | Author |
This class can embed MP3 player for audio extracted from YouTube.
It generates a HTML iframe that embeds a MP3 audio player for a given YouTube video.
The embedded page will display the player loaded from coolguruji.com site that does the actual conversion of the YouTube video and audio. | |
|
|
Innovation award
Nominee: 1x |
|
Example
<?php
// passing value to varible directly
// You can need to change this value with youtube video ID,
$yid = $_GET['id'];
if(!isset($yid)) {
$yid = 'lF-jPBnZ098'; // we added this line for demo purpose, if you don't pass any value to variable
}
// calling class
require_once('class.php');
// Creating object
$object = new ytiframe();
// Calling Class
$response = $object->generate($yid);
?>
<html>
<head>
<title>YouTube To Mp3 Iframe Widgets</title>
<style>
div.error {
border: 2px solid #ccc!important;
border-radius: 16px;
padding: 0.01em 10px;
}
</style>
</head>
<body>
<?php
// IFRAME EMBED CODE
if(isset($yid)&&($response)) {
echo "You Iframe Embed code:<br/>";
echo $response; // This variable contains iframe code
echo "<br/>";
}
?>
</body>
</html>
|
Details
youtube-to-mp3-iframe-widgets
This php class can provide you functionality of embedding youtube to mp3 conversion widgets in your webpage/website for free!
<h2>Installation</h2>
<ul>
<li>Just download a copy of this php class on your pc.</li>
<li>Then, upload the downloaded zip file on your webserver.</li>
<li>Extract the zip files</li>
<li>If you've uploaded the files in public_html or in a directory.</li>
<li>Just the webpage in your web browsers like yourdomain.com/index.php?id=X30l7A8-BRM or yourdomain.com/folder/index.php?id=8SPtkjMUkGk</li>
<li>That's it! You'll see a yt to mp3 widgets with download link.</li>
</ul>
<h3>Requirements</h3>
<li>PHP enabled any webserver or loaclhost, no additional plugins like ffmpeg/youtube-dl is needed.</li>
<h3>Support</h3>
<p>You know it's a free service but still don't hesitate to ask me any query at api@youtube6download.top<br/>
I'll do my best to help you :)</p>
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.