googlevideo.php
<?php
$docid = (isset($_GET['docid'])) ? strval($_GET['docid']) : '8010793559435491074';
$type = (isset($_GET['type'])) ? strval($_GET['type']) : 'flv';
$file = @file_get_contents("http://video.google.com/videoplay?docid=$docid");
if($type == 'flv')
{
preg_match("/googleplayer.swf\?videoUrl\\\\x3d(.*?)\\\\x26/", $file, $match);
}
else
{
preg_match('/right-click <a href="(.*?)">this link/', $file, $match);
}
$uri = urldecode($match[1]);
header("Location: $uri");
?>Playerda oynatmak için
file=http://sitenizinadi.com/googlevideo.php?docid=video id'si&type=flv
şeklinde kullanabilirsiniz. İsterseniz dosyaya link vererek indirilmesini de sağlayabilirsiniz.
Film izletme sitesi olan arkadaşların işine yarar umarım.