We have received many requests from our readers to post some tutorial on YouTube video downloading. Today I will show you that how to download YouTube video using PHP with a PHP class available here. A very simple and easy to integrate tutorial.
Library and implementation given in source code download.
<?php include("YTDownloader.php"); $ytlink = $_GET['yt']; $yt = new YTDownloader(); $links = $yt->getDownloadLinks("rKXFgWP-2xQ"); print_r($links); ?>
This code will return you all the downloadable links of video for HD Video 3GP video and many more.
In demo you can get a complete UI based demo.