i\'m trying to embed youtube video into my iphone application. I\'m using UIWebView and loading embed code from youtube as html string. So i have a layout with basic html markup
For iOS 5 or new apps use official syntax, see the link below it works very fine
http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html