<?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: Playing videos from YouTube</title>
	<atom:link href="http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=playing-videos-from-youtube</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 02:22:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: beerheadsed</title>
		<link>http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/comment-page-1/#comment-28822</link>
		<dc:creator>beerheadsed</dc:creator>
		<pubDate>Sat, 22 Aug 2009 16:10:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/#comment-28822</guid>
		<description>&lt;a href=&quot;http://www.jackmack.com/_disc4/00000f73.htm&quot; rel=&quot;nofollow&quot;&gt;Naruto Shippuuden Episode 1 and 2&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://www.jackmack.com/_disc4/00000f73.htm" rel="nofollow">Naruto Shippuuden Episode 1 and 2</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CcFreAk</title>
		<link>http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/comment-page-1/#comment-17810</link>
		<dc:creator>CcFreAk</dc:creator>
		<pubDate>Sat, 31 Jan 2009 12:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/#comment-17810</guid>
		<description>Works really nice :) thank you for posting it, helped me alot</description>
		<content:encoded><![CDATA[<p>Works really nice :) thank you for posting it, helped me alot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ShamSocastate</title>
		<link>http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/comment-page-1/#comment-16950</link>
		<dc:creator>ShamSocastate</dc:creator>
		<pubDate>Tue, 06 Jan 2009 22:46:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/#comment-16950</guid>
		<description>What is bumburbia?</description>
		<content:encoded><![CDATA[<p>What is bumburbia?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to pick up women</title>
		<link>http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/comment-page-1/#comment-6822</link>
		<dc:creator>How to pick up women</dc:creator>
		<pubDate>Sat, 19 Jan 2008 14:58:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/#comment-6822</guid>
		<description>&lt;strong&gt;pick up lines for women...&lt;/strong&gt;

how to pick up women the right way...</description>
		<content:encoded><![CDATA[<p><strong>pick up lines for women&#8230;</strong></p>
<p>how to pick up women the right way&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/comment-page-1/#comment-6518</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Wed, 09 Jan 2008 10:43:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/#comment-6518</guid>
		<description>I too can&#039;t get the script to run on my server but it works great locally. Do you happend to know what the problem might be?</description>
		<content:encoded><![CDATA[<p>I too can&#8217;t get the script to run on my server but it works great locally. Do you happend to know what the problem might be?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aSnO®</title>
		<link>http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/comment-page-1/#comment-4071</link>
		<dc:creator>aSnO®</dc:creator>
		<pubDate>Tue, 06 Nov 2007 04:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/#comment-4071</guid>
		<description>Hallo Wouter, I applied the code and It worked but only locally, when I test it on my server It doesn&#039;t work, Do I have to do something else to make it work when I put it online?

Sorry for my bad english, thanks for the help</description>
		<content:encoded><![CDATA[<p>Hallo Wouter, I applied the code and It worked but only locally, when I test it on my server It doesn&#8217;t work, Do I have to do something else to make it work when I put it online?</p>
<p>Sorry for my bad english, thanks for the help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wouter</title>
		<link>http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/comment-page-1/#comment-3687</link>
		<dc:creator>wouter</dc:creator>
		<pubDate>Thu, 25 Oct 2007 17:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/#comment-3687</guid>
		<description>Hey Mike,

Indeed, they changed their html source. I have updated the youtubeHtmlData function:

function youtubeHtmlData(src:String):Void{
	var args:String = src.substr(src.indexOf(&#039;video_id=&#039;) + 9);
	args = args.substr(0, args.indexOf(&quot;&#039;&quot;));
	this.ns.play(&quot;http://www.youtube.com/get_video?video_id=&quot;+args);
}

Enjoy!</description>
		<content:encoded><![CDATA[<p>Hey Mike,</p>
<p>Indeed, they changed their html source. I have updated the youtubeHtmlData function:</p>
<p>function youtubeHtmlData(src:String):Void{<br />
	var args:String = src.substr(src.indexOf(&#8216;video_id=&#8217;) + 9);<br />
	args = args.substr(0, args.indexOf(&#8220;&#8216;&#8221;));<br />
	this.ns.play(&#8220;http://www.youtube.com/get_video?video_id=&#8221;+args);<br />
}</p>
<p>Enjoy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/comment-page-1/#comment-3675</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Thu, 25 Oct 2007 10:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/#comment-3675</guid>
		<description>Hi, thanks for the code. It seems it doesn&#039;t work anymore and YouTube changed their HTML Data. I get this error :

Error opening URL &#039;http://www.youtube.com/get_video?video_id=/version-check.swf&#039;

In the HTML Data :
var to = new SWFObject(&quot;/version-check.swf&quot;, &quot;checker&quot;, &quot;0&quot;, &quot;0&quot;, &quot;0&quot;, &quot;#FFFFFF&quot;);

Do you know if there&#039;s any workaround possible ?</description>
		<content:encoded><![CDATA[<p>Hi, thanks for the code. It seems it doesn&#8217;t work anymore and YouTube changed their HTML Data. I get this error :</p>
<p>Error opening URL &#8216;<a href="http://www.youtube.com/get_video?video_id=/version-check.swf" rel="nofollow">http://www.youtube.com/get_video?video_id=/version-check.swf</a>&#8216;</p>
<p>In the HTML Data :<br />
var to = new SWFObject(&#8220;/version-check.swf&#8221;, &#8220;checker&#8221;, &#8220;0&#8243;, &#8220;0&#8243;, &#8220;0&#8243;, &#8220;#FFFFFF&#8221;);</p>
<p>Do you know if there&#8217;s any workaround possible ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/comment-page-1/#comment-386</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 06 Jun 2007 01:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.aboutme.be/2006/10/11/playing-videos-from-youtube/#comment-386</guid>
		<description>Very nice, I am working on finding a way to play youtube video from a SWF, thanks for posting. 

This code plays FLV files only I am hoping to find a way to modify this code so that it can play youtube videos, 

stop();
_root.player.autoPlay = true;
var curPlayURL:Object = new Object();
var PlayURLWatcher:Function = function (prop, oldVal, newVal, userData) {
	trace(&quot;set &quot;+newVal);
	_root.player.setMedia(newVal);
	return newVal;
};




curPlayURL.watch(&quot;cururl&quot;, PlayURLWatcher, 0);
player.addEventListener(&quot;playheadChange&quot;, controlListen); 


Any Thoughts?</description>
		<content:encoded><![CDATA[<p>Very nice, I am working on finding a way to play youtube video from a SWF, thanks for posting. </p>
<p>This code plays FLV files only I am hoping to find a way to modify this code so that it can play youtube videos, </p>
<p>stop();<br />
_root.player.autoPlay = true;<br />
var curPlayURL:Object = new Object();<br />
var PlayURLWatcher:Function = function (prop, oldVal, newVal, userData) {<br />
	trace(&#8220;set &#8220;+newVal);<br />
	_root.player.setMedia(newVal);<br />
	return newVal;<br />
};</p>
<p>curPlayURL.watch(&#8220;cururl&#8221;, PlayURLWatcher, 0);<br />
player.addEventListener(&#8220;playheadChange&#8221;, controlListen); </p>
<p>Any Thoughts?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

