Pros and cons of MPMoviePlayerController versus launching UIWebView to stream movie
Posted
by Nosredna
on Stack Overflow
See other posts from Stack Overflow
or by Nosredna
Published on 2009-06-10T16:16:41Z
Indexed on
2010/06/14
22:32 UTC
Read the original article
Hit count: 356
I have a client who has video content for the web in Flash format. My task is to help them show the videos in an iPhone app.
I realize that step one is to get these videos into the appropriate Quicktime format for the iPhone.
Then I'm going to have to help the client figure out how or where to host these files. If that's tricky I assume they can be hosted at YouTube.
My chief concern, though, is which approach to take to stream the video. What are the pros and cons of MPMoviePlayerController versus launching UIWebView with the URL of the stream? Is there any difference? Is one of them more or less forgiving? Is one of them a better user experience? Any gotchas I might expect to run into?
I'm assuming playing video is pretty easy on the iPhone. Is it reasonable to try both and have one available as a fallback, or would that be a waste of time? I'm trying to schedule this out a bit, so I'd love to hear real-world experiences from anyone who's done this.
© Stack Overflow or respective owner