Hi All,
In my app i am playing a video using the following code.
NSURL *myURL = [[NSURL alloc] initWithString:downloadURL];
mMoviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:myURL];
if (mMoviePlayer) {
[self initMoviePlayer];
[mMoviePlayer play];
}
This code is working fine in simulator, but when i test it in device it is giving "BAD_ACCESS" error. Device is not at all sending the request to video.
Can some one help me with this..
Thanks...