View Single Post
Old 06-11-2007, 07:36 PM  
MissFireCrotch
Confirmed User
 
MissFireCrotch's Avatar
 
Join Date: Jun 2007
Posts: 187
secure flash player

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($fhfilesize($file)));
}

fclose($fh); 
by calling "file=script.php?file=foo.flv

but this made my browser crash (firefox) and server resources sky rocket!
__________________
Need some web dev? Contact ME
ICQ - 366621126
MissFireCrotch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook