Re: How to see a video from YouTube on Iphone
Re: How to see a video from YouTube on Iphone
- Subject: Re: How to see a video from YouTube on Iphone
- From: Jens Alfke <email@hidden>
- Date: Fri, 27 May 2011 08:54:50 -0700
On May 27, 2011, at 6:58 AM, Guillermo Moral wrote:
> Which is the best way to show a video from YouTube on iphone like you see
> when you implement MoviePlayerCotroller?
The hard part is determining the URL of the H.264-encoded video file, given the URL of the YouTube page. I have no idea how to do that; that’s a question YouTube might have documentation for.
Once you have that URL, put it into an NSURL object and create an MPMoviePlayerController on it, as in the sample code.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden