IPhone OS 4.0 - Beta 3 - setContentURL on MPMoviePlayerViewController crashing the App

Posted by Thom on Stack Overflow See other posts from Stack Overflow or by Thom
Published on 2010-05-11T13:00:42Z Indexed on 2010/05/11 13:04 UTC
Read the original article Hit count: 391

Filed under:
|

Hi Everyone. I had this issue, with the beta2 and I thought the beta3 was going to solve it, but I'm starting to think that I'm doing something wrong.

I have a MPMoviePlayerViewController playing a video and when the video ends I'm trying to change the video for another like this:

[moviePlayerViewController.moviePlayer setContentURL:newVideoURL];

The app crashes when it reaches this point.

Any help/advice welcome :)

Thanks Thomas

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c