Storage(); $path = $Event->Relative_Path().'/'.$Event->DefaultVideo(); Debug("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 { Debug("Success sending " . $Storage->Path().'/'.$path ); } } ?>