• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to see a video from YouTube on Iphone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to see a video from YouTube on Iphone (From: Guillermo Moral <email@hidden>)

  • Prev by Date: Re: Seeding random() randomly
  • Next by Date: Re: TransformProcessType() still doesn't show menu (Bug ID# 5905139)
  • Previous by thread: How to see a video from YouTube on Iphone
  • Next by thread: Application Design
  • Index(es):
    • Date
    • Thread