Is there a way to rewrite
http://localhost/embed/player.swf?file=http://www.youtube.com/watch?v=7yKDhm4_-90
to something smaller?
or is there a way to change this into
http://localhost/embed/script.php?id=7yKDhm4_-90
What can i do?
UPDATE
i've tried with something like this:
header('Content-type: application/x-shockwave-flash');
header('Content-Length: ' . filesize($file));
header('Connection: close');
$video_id = $_REQUEST['id'];
$content = readfile("http://localhost/embed/player.swf?file=http://www.youtube.com/watch?v=$video_id");
echo $content;
but it is mot working.
what i am doing wrong?
