Here I put a small tutorial for embedded a youtube video on iPad also works on iPhone.
Note: The iPad/iPhone simulator does not allow online reproduction, the video will only be visible in a real device .
- First we create a View-based Application project.

- I will name it EmbeddedVideo, you can name it whatever you like.

- Open the EmbeddedVideoViewController.xib and added a UIWebView(drag and drop).

- Then in EmbeddedVideoViewController.h create an IBOutlet for ourUIWebView, leaving something like this:
@interface EmbeddedVideoViewController : UIViewController { UIWebView *webVideo; } @property (nonatomic, retain) IBOutlet UIWebView *webVideo; @end - We connect the IBOutlet with UIWebView, open the EmbeddedVideoViewController.xib and in File’s Owner in the Outlets section select/drag on our UIWebView:

- We opened in EmbeddedVideoViewController.m within viewDidLoad method (if commented, uncomment it) add a few lines of code, something like this:
- (void)viewDidLoad { [super viewDidLoad]; NSString *videoURL = @"http://www.youtube.com/watch?v=JOddp-nlNvQ"; NSString *htmlString =[[NSString alloc] initWithFormat:@" ",videoURL]; [webVideo setAllowsInlineMediaPlayback:YES]; [webVideo loadHTMLString:htmlString baseURL:nil]; } -
After that compile and run on our device and we’ll see something like this

I hope this will be useful and you can download the code from here
Excellent .. Superb .. I will bookmark your web site and take the feeds additionally I’m satisfied to search out numerous useful information here in the post about Webvideo, thank you for sharing. . . . .