Version: 1.0

Type: Function

Category: Other

License: Artistic License

Description: Use this to output a simple QuickTime file that will point to a URL of another QuickTime playable file.



function makerefmovie($qturl) {
  $n = strlen($qturl);
  header('Content-type: video/quicktime');
  echo pack('Na4Na4Na4Na4xxxxa4Na*x',$n+45,'moov',$n+37,'rmra',
            $n+29,'rmda',$n+21,'rdrf','url ',$n+1,$qturl);
  exit;
}