View Single Post
Old 03-21-2010, 08:41 AM  
MichaelP
Registered User
 
Industry Role:
Join Date: Aug 2003
Location: QWEBEC Corporate Office
Posts: 7,124
TRY :

$file = "full/server/path/to/file/video.mp4" ;
$url = "http://somedomain.com/" ;

IF (file_exists( $file)) {
$filename = $url/video.mp4';
} ELSE {
$filename = $url/video.flv';
}
MichaelP is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote