Storage(); $path = $Event->Relative_Path().'/'.$Event->DefaultVideo(); Error("Path: $path"); } else { $errorText = "No video path"; } if ( $errorText ) Error( $errorText ); else{ # FIXME guess it from the video file header( 'Content-type: video/mp4' ); if ( ! readfile( $Storage->Path().'/'.$path ) ) { Error("No bytes read from ". $Storage->Path() . '/'.$path ); } else { Error("Success sending " . $Storage->Path().'/'.$path ); } } ?>