View Single Post
Old 11-01-2011, 02:39 PM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,491
Quote:
Originally Posted by awwhoez View Post
you know anyway to integrate it into a tube script
yes bascially something like this

Code:
<?php

$secret = "secret";
$path = "/downloads/";
$htime = dechex(time());
$fname = "/video.flv";
$token = md5($secret . $fname. $htime);
$url = $path . $token. "/" . $htime . $fname;

?>

<script type="text/javascript">
  var so = new SWFObject("player.swf","mpl","450","290","9");
  so.addParam("allowfullscreen","true");
  so.addParam("allowscriptaccess","always");
  so.addParam("wmode","opaque");
  so.addVariable("autostart","true");
  so.addVariable("file","<?php echo $url;?>");
  so.write("flashcontent");
</script>
or whatever method you want being done.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Cam Feeds Script
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote