<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How To Play YouTube Videos Within an Application</title>
	<atom:link href="http://iPhoneIncubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneIncubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application</link>
	<description>Tips and Tricks for iPhone, iPod, iPad and iOS Developers</description>
	<lastBuildDate>Tue, 17 Apr 2012 16:54:31 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: David Lee</title>
		<link>http://iPhoneIncubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application/comment-page-2#comment-15795</link>
		<dc:creator>David Lee</dc:creator>
		<pubDate>Thu, 17 Nov 2011 15:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=94#comment-15795</guid>
		<description>Does anybody know how to make the function similar to iPhone Youtube App?

For example, the youtube video will play automatically after clicking the navigation cell and click the &quot;Done&quot; button or the video finishes the playing and will go back to navigation cell</description>
		<content:encoded><![CDATA[<p>Does anybody know how to make the function similar to iPhone Youtube App?</p>
<p>For example, the youtube video will play automatically after clicking the navigation cell and click the &#8220;Done&#8221; button or the video finishes the playing and will go back to navigation cell</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J.R.</title>
		<link>http://iPhoneIncubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application/comment-page-2#comment-14601</link>
		<dc:creator>J.R.</dc:creator>
		<pubDate>Tue, 18 Oct 2011 01:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=94#comment-14601</guid>
		<description>Anyone had any luck getting the &quot;Next&quot; button to work for a playlist link using this technique?  Works in Safari on  my mac or on the YouTube app, but not in UIWebView as far as I&#039;ve been able to determine.  Plays the first video in the playlist only</description>
		<content:encoded><![CDATA[<p>Anyone had any luck getting the &#8220;Next&#8221; button to work for a playlist link using this technique?  Works in Safari on  my mac or on the YouTube app, but not in UIWebView as far as I&#8217;ve been able to determine.  Plays the first video in the playlist only</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuichi</title>
		<link>http://iPhoneIncubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application/comment-page-2#comment-14593</link>
		<dc:creator>Yuichi</dc:creator>
		<pubDate>Mon, 17 Oct 2011 18:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=94#comment-14593</guid>
		<description>One last try...

NSString * embedHTML = @&quot;&lt;html&gt;&lt;head&gt;&lt;style type=&#039;text/css&#039;&gt;body {background-color:blue;color:white;}&lt;/style&gt;&lt;/head&gt;&lt;body style=&#039;margin:0&#039;&gt;&lt;iframe width=&#039;%f&#039; height=&#039;%f&#039; src=&#039;%@&#039; frameborder=&#039;0&#039; allowfullscreen&gt;&lt;/iframe&gt;&lt;/body&gt;&lt;/html&gt;&quot;</description>
		<content:encoded><![CDATA[<p>One last try&#8230;</p>
<p>NSString * embedHTML = @&#8221;&lt;html&gt;&lt;head&gt;&lt;style type=&#8217;text/css&#8217;&gt;body {background-color:blue;color:white;}&lt;/style&gt;&lt;/head&gt;&lt;body style=&#8217;margin:0&#8242;&gt;&lt;iframe width=&#8217;%f&#8217; height=&#8217;%f&#8217; src=&#8217;%@&#8217; frameborder=&#8217;0&#8242; allowfullscreen&gt;&lt;/iframe&gt;&lt;/body&gt;&lt;/html&gt;&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuichi</title>
		<link>http://iPhoneIncubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application/comment-page-2#comment-14592</link>
		<dc:creator>Yuichi</dc:creator>
		<pubDate>Mon, 17 Oct 2011 18:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=94#comment-14592</guid>
		<description>It looks my code snippet got corrupted when posting. I will repost...


NSString * embedHTML = @&quot;body {background-color:blue;color:white;}&quot;;</description>
		<content:encoded><![CDATA[<p>It looks my code snippet got corrupted when posting. I will repost&#8230;</p>
<p>NSString * embedHTML = @&#8221;body {background-color:blue;color:white;}&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuichi</title>
		<link>http://iPhoneIncubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application/comment-page-2#comment-14591</link>
		<dc:creator>Yuichi</dc:creator>
		<pubDate>Mon, 17 Oct 2011 18:25:45 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=94#comment-14591</guid>
		<description>I think the way Youtube embed video has changed and they are using iframe instead of embed tag. So, embedHTML string will be more like this.
  
 NSString* embedHTML = @&quot;\ 
    \ 
 \ 
 body {\ 
 background-color: transparent;\ 
 color: white;\ 
 }\ 
 \ 
 \ 
    \ 
    &quot;;  

Great post anyways. Helped me a lot!</description>
		<content:encoded><![CDATA[<p>I think the way Youtube embed video has changed and they are using iframe instead of embed tag. So, embedHTML string will be more like this.</p>
<p> NSString* embedHTML = @&#8221;\<br />
    \<br />
 \<br />
 body {\<br />
 background-color: transparent;\<br />
 color: white;\<br />
 }\<br />
 \<br />
 \<br />
    \<br />
    &#8220;;  </p>
<p>Great post anyways. Helped me a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex G</title>
		<link>http://iPhoneIncubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application/comment-page-2#comment-13602</link>
		<dc:creator>Alex G</dc:creator>
		<pubDate>Fri, 02 Sep 2011 08:26:34 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=94#comment-13602</guid>
		<description>Hi. This code is great and it works for all of my YouTube videos apart from one. The link is good if I open in safari but in the app the play button is crossed out. There is no error. Any ideas?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi. This code is great and it works for all of my YouTube videos apart from one. The link is good if I open in safari but in the app the play button is crossed out. There is no error. Any ideas?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://iPhoneIncubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application/comment-page-2#comment-13277</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Fri, 12 Aug 2011 14:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=94#comment-13277</guid>
		<description>@VanDat: Videos do not play in the simulator. You have to test this on a device.</description>
		<content:encoded><![CDATA[<p>@VanDat: Videos do not play in the simulator. You have to test this on a device.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VanDat</title>
		<link>http://iPhoneIncubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application/comment-page-2#comment-13107</link>
		<dc:creator>VanDat</dc:creator>
		<pubDate>Mon, 08 Aug 2011 08:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=94#comment-13107</guid>
		<description>Hey Nick,
I did this, and the video does not seem to run. I got a blank view on iphone simulator.</description>
		<content:encoded><![CDATA[<p>Hey Nick,<br />
I did this, and the video does not seem to run. I got a blank view on iphone simulator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neha</title>
		<link>http://iPhoneIncubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application/comment-page-2#comment-12526</link>
		<dc:creator>neha</dc:creator>
		<pubDate>Thu, 14 Jul 2011 07:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=94#comment-12526</guid>
		<description>its not working in my project</description>
		<content:encoded><![CDATA[<p>its not working in my project</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xsergiom</title>
		<link>http://iPhoneIncubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application/comment-page-2#comment-3464</link>
		<dc:creator>xsergiom</dc:creator>
		<pubDate>Fri, 18 Jun 2010 09:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=94#comment-3464</guid>
		<description>Video appears but not playing try this:
htmlvideo is the uiwebview...

[htmlVideo setUserInteractionEnabled:YES];</description>
		<content:encoded><![CDATA[<p>Video appears but not playing try this:<br />
htmlvideo is the uiwebview&#8230;</p>
<p>[htmlVideo setUserInteractionEnabled:YES];</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/14 queries in 0.026 seconds using disk: basic
Object Caching 358/360 objects using disk: basic

Served from: iphoneincubator.com @ 2012-05-17 02:23:10 -->
