Take the 2-minute tour ×

I am creating an iPhone app on Xcode with build in video and music, the trouble is I want to keep the whole app below 20MB

I've compressed the videos to a OK standard but I'm still over the 20MB

Is there a way I can just stream the videos from a server, so when I click on my video / Audio button in the app it plays like it was saved within the app.

Many Thanks

share|improve this question
why 20MB? App Store over the air restriction is 50MB - just saying.. –  Pfitz Jul 22 '12 at 8:05
Thanks, I didn't know it changed, might have solved my problem –  Paul Jul 25 '12 at 9:34
@Paul : How did you stream video from online? I wanted to know. Can you provide code or email me at parkarfahim22@yahoo.co.in –  Fahim Parkar Feb 4 '13 at 6:20

1 Answer 1

Try this:

MPMoviePlayerViewController *movieView = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:@"http://movieurl"]];

[self presentMoviePlayerViewControllerAnimated:movieView];

don't forget to import MediaPlayerFramework

If you need more control over streaming, playback or the view itself, see MPMoviePlayerController Class Reference

share|improve this answer
When I add the code, the player opens for 1 second and then closes again, its as if its not finding the URL –  Paul Jul 21 '12 at 17:48
try different URL and make sure the file type is supported. –  Andrei G. Jul 21 '12 at 23:22
Yep was the URL others are working, many thanks, if I want to stream my own mp3 into a iOS app, do I need to set up a cloud server and have a link, –  Paul Jul 25 '12 at 9:11
yes, as long as it's accessible via URL link –  Andrei G. Jul 29 '12 at 16:00

Your Answer


