Currently i am using jeroenwijering flash player, but this exposes the file url of flv files. Does anyone know of a more secure player that can hide the url's of flv files? Right now I am using js to protect it alittle by creating the player dynamically. I know that you can not stop ripping completely but you can stop 50% of the people that just look at page sources.
I tried a php file such as:
PHP Code:
$file = "/video/" . $_GET["file"];
$fh = fopen($file,"rb");
while (!feof($fh))
{
header("Cache-Control: no-store, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Content-Type: video/x-flv");
header('Content-Length: ' . filesize($file));
print(fread($fh, filesize($file)));
}
fclose($fh);
by calling "file=script.php?file=foo.flv
but this made my browser crash (firefox) and server resources sky rocket!