views:

25

answers:

0

Hi

I am trying to play the videos using MPMoviePlayer Class. The problem is I am able to play videos(.m4v) on simulator when playing locally(i.e; from bundle) but when I am trying to play the same video uploaded to a remote server, the video is not playing.Infact I get the error

Error Domain = MediaPlayerErrorDomain
Code = -3 userInfo = 0X1957da "An unknown playback error occurred"

I was trying it on sdk-4.1. Then I ran my code on sdk-3.0 but still the problem persists.

I haven't tried it on device yet.

On the other hand if I am playing .mp3 files from the same remote server I am able to play them on simulator as well as device. I am not sure whether the problem is on my side or from the server side.

seek your urgent help.