Location: PHPKode > scripts > YouTube video download > example.php
<?php
//Copyrights Abdulkadir kucuk www.dersanlat.com
//working version http://www.dersanlat.com/ytb/
//http://www.youtube.com/watch?v=bWN3-s9ACpw
//http://www.youtube.com/watch?v=ru-xQac_sWw&feature=rec-HM-rn
$vidurl="http://www.youtube.com/watch?v=EzrxopKkpr8";// or $_GET['video'];
include 'youtubedownload_Class.php';
$example=new youtubedownload();
$example->download($vidurl,'downloadlink');
?>
Return current item: YouTube video download