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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to