hala benim sitemdeki linki kullanan arkadaslar var bu yuzden farklı bir versiyon yaparak sizlere sunuyorum.

<?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.


.htaccess kodu

RewriteEngine On 
RewriteRule ^video/(.*).flv$  ytaranj.php?v=$1 [NC]
.htaccess ekleyerek www.siteniz.com/video/ytid.flv şeklinde kullanabilirsiniz.

bir arkadasımız tarafından test edildi çalışıyor ve şuan sitesinde kullanıyor.