public function isVideo()
    {
        return $this->pathExists() && $this->exists() &&
            in_array(strtolower(end(explode('.', $this->filename))), self::$allowed_extensions);
    }
public function isVideo()
    {
        return $this->pathExists() && $this->exists() &&
            in_array(strtolower(end(explode('.', $this->filename))), self::$allowed_extensions);
    }
public function isVideo ( ) { return $ this -> pathExists ( ) && $ this -> exists ( ) && in_array ( strtolower ( end ( explode ( '.' , $ this -> filename ) ) ) , self :: $ allowed_extensions ) ; }
Returns TRUE if the object is a video file
Returns TRUE if the object is a video file