views:

45

answers:

0

I have a particular link to a video file in server. when i load the safari through

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://mydomain/category/2.mp4"]];

simulator pops out an alert message saying that "Cannot Play MOVIE.. Server is not correctly configured".......

Even I tried using the mediaPlayer framework - MPMoviePlayerController and loading it with th e url-"http://mydomain/category/2.mp4" but it didnt play out.

when i paste the same url in the 10.5 leopards safari it plays out smoothly.. What may be the reason behind it.?