aklıma gelen ve yaptıgım basit bir youtube aracı çalışıp çalışmadıgını (player uzerinde) denemedim bu nedenle ADSL kullanarak test edip donus yapan arkadaslar olursa sevinirim

şimdiden hayırlı kullanışlar.


<?php 
// Code : Kedinet 
// Mail :kadir@projeman.com 
// Scripts Name : Youtube Aranj Scripts 
// Date : 07/07/2010 
						// ob_start();
                        $ytid   = $_GET["v"]; 
						if(empty($ytid)){
							header('HTTP/1.0 404 Not Found');
							exit();
						}
                        $url="http://streamer.file2hd.com/y.aspx?video_id=".$ytid; 
						$headers = get_headers($url);
						//print_r($headers);
						
						$connection = $headers[6];
						$mime_type = $headers[3];
						$content_disposition = str_replace('[File2HD.com]','[kedinet.org]',$headers[5]);
						if ($connection =="Connection: close"){
						// echo "baglantı kapalı";
						header('HTTP/1.0 404 Not Found');
						exit();
						}
						
							header('Content-Description: File Transfer');
							header("$mime_type"); 
							header("$content_disposition");
							header('Content-Transfer-Encoding: binary');
							header('Expires: 0');
							header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
							header('Pragma: public');
							// ob_clean();
							flush();
							readfile($url);				
?>
kaynak koda http://bot.projeman.com/ytaranj.phps adresindende ulaşabilirsiniz.