comparison viewer.php @ 59:f40b6cc4c587

change: viewer & stream
author yoneda <yoneda@recorder.localnet.mda.or.jp>
date Sat, 01 Aug 2009 18:35:11 +0900
parents a703751e208a
children
comparison
equal deleted inserted replaced
58:80dc62c94185 59:f40b6cc4c587
35 header("Content-type: video/x-ms-asf; charset=\"UTF-8\""); 35 header("Content-type: video/x-ms-asf; charset=\"UTF-8\"");
36 header('Content-Disposition: inline; filename="'.$rrec->path.'.asx"'); 36 header('Content-Disposition: inline; filename="'.$rrec->path.'.asx"');
37 echo "<ASX version = \"3.0\">"; 37 echo "<ASX version = \"3.0\">";
38 echo "<PARAM NAME = \"Encoding\" VALUE = \"UTF-8\" />"; 38 echo "<PARAM NAME = \"Encoding\" VALUE = \"UTF-8\" />";
39 echo "<ENTRY>"; 39 echo "<ENTRY>";
40 echo "<REF HREF=\"".$settings->install_url."/sendstream.php?reserve_id=".$rrec->id ."\" />"; 40 if( ! $rrec->complete ) echo "<REF HREF=\"".$settings->install_url."/sendstream.php?reserve_id=".$rrec->id ."\" />";
41 echo "<REF HREF=\"".$settings->install_url.$settings->spool."/".$rrec->path ."\" />"; 41 echo "<REF HREF=\"".$settings->install_url.$settings->spool."/".$rrec->path ."\" />";
42 echo "<TITLE>".$title."</TITLE>"; 42 echo "<TITLE>".$title."</TITLE>";
43 echo "<ABSTRACT>".$abstract."</ABSTRACT>"; 43 echo "<ABSTRACT>".$abstract."</ABSTRACT>";
44 echo "<DURATION VALUE="; 44 echo "<DURATION VALUE=";
45 echo '"'.sprintf( "%02d:%02d:%02d",$dh, $dm, $ds ).'" />'; 45 echo '"'.sprintf( "%02d:%02d:%02d",$dh, $dm, $ds ).'" />';