<?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: Youtube AS3 Wrapper &#8211; How to use</title>
	<atom:link href="http://www.ovidiudiac.ro/blog/2009/03/youtube-as3-wrapper-how-to-use/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ovidiudiac.ro/blog/2009/03/youtube-as3-wrapper-how-to-use/</link>
	<description>Ovidiu Diac's Blog</description>
	<lastBuildDate>Sat, 30 Jul 2011 09:27:04 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: TobaWebs</title>
		<link>http://www.ovidiudiac.ro/blog/2009/03/youtube-as3-wrapper-how-to-use/comment-page-1/#comment-804</link>
		<dc:creator>TobaWebs</dc:creator>
		<pubDate>Wed, 13 Apr 2011 00:49:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.ovidiudiac.ro/blog/?p=169#comment-804</guid>
		<description>Hello, very nice work, I have been implementing your class, and I have the following problem. When the application fee for the first time I enter the video section and it works like a charm, but if I leave the section and re-enter the section and does not load the videos, both in localhost with the network. What can be?</description>
		<content:encoded><![CDATA[<p>Hello, very nice work, I have been implementing your class, and I have the following problem. When the application fee for the first time I enter the video section and it works like a charm, but if I leave the section and re-enter the section and does not load the videos, both in localhost with the network. What can be?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc-André Weibezahn</title>
		<link>http://www.ovidiudiac.ro/blog/2009/03/youtube-as3-wrapper-how-to-use/comment-page-1/#comment-705</link>
		<dc:creator>Marc-André Weibezahn</dc:creator>
		<pubDate>Fri, 19 Nov 2010 13:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.ovidiudiac.ro/blog/?p=169#comment-705</guid>
		<description>Hi, thank you for the code. Is it possible to embed the ytPlayer.swf in a Flash Builder project? I tried with [Embed (...)], but the Loader object is always null. Am I missing something?

Thank you for your help!</description>
		<content:encoded><![CDATA[<p>Hi, thank you for the code. Is it possible to embed the ytPlayer.swf in a Flash Builder project? I tried with [Embed (...)], but the Loader object is always null. Am I missing something?</p>
<p>Thank you for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.ovidiudiac.ro/blog/2009/03/youtube-as3-wrapper-how-to-use/comment-page-1/#comment-630</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 21 Sep 2009 08:19:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.ovidiudiac.ro/blog/?p=169#comment-630</guid>
		<description>Firstly, you should make sure that the swf file you&#039;re testing has access to the internet (which you can provide by using the Global Security Settings Manager on the adobe&#039;s site).
Then, since you use a LoaderContext object, what is the ApplicationDomain that you pass to the LoaderContext?
Also, what is the SecurityContext you pass to the LoaderContext object, although it shouldn&#039;t have any effect since you load from the same domain.

Also, what is your reason to use a LoaderContext object, because you load the swf&#039;s from the same domain as your main swf file is in, thus the policy file is not needed...?</description>
		<content:encoded><![CDATA[<p>Firstly, you should make sure that the swf file you&#8217;re testing has access to the internet (which you can provide by using the Global Security Settings Manager on the adobe&#8217;s site).<br />
Then, since you use a LoaderContext object, what is the ApplicationDomain that you pass to the LoaderContext?<br />
Also, what is the SecurityContext you pass to the LoaderContext object, although it shouldn&#8217;t have any effect since you load from the same domain.</p>
<p>Also, what is your reason to use a LoaderContext object, because you load the swf&#8217;s from the same domain as your main swf file is in, thus the policy file is not needed&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wenhu</title>
		<link>http://www.ovidiudiac.ro/blog/2009/03/youtube-as3-wrapper-how-to-use/comment-page-1/#comment-627</link>
		<dc:creator>Wenhu</dc:creator>
		<pubDate>Sun, 20 Sep 2009 11:51:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.ovidiudiac.ro/blog/?p=169#comment-627</guid>
		<description>Hi, I tried your example locally(non air version) with 0.8 version. the ytLoaded method is triggered, but the ytReady was never triggered, because i got the following error:
SecurityError: Error #2000: No active security context

I have tried the following statement in init method:
_loaderContext.checkPolicyFile = true;
				var loader : Loader = new Loader();
				loader.contentLoaderInfo.addEventListener(Event.COMPLETE, this.ytLoaded);
				loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, this.ytIOError);
				
				loader.load(new URLRequest(&quot;ytPlayer.swf?apiKey=&quot;+API_KEY),_loaderContext); // load ytPlayer.swf : will give us the ytPlayer; to pass in the youtube api key ==&gt; &quot;ytPlayer.swf?apiKey=XXXXXX&quot;
				
but no luck. Can anyone help me or anyone with similiar experience?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi, I tried your example locally(non air version) with 0.8 version. the ytLoaded method is triggered, but the ytReady was never triggered, because i got the following error:<br />
SecurityError: Error #2000: No active security context</p>
<p>I have tried the following statement in init method:<br />
_loaderContext.checkPolicyFile = true;<br />
				var loader : Loader = new Loader();<br />
				loader.contentLoaderInfo.addEventListener(Event.COMPLETE, this.ytLoaded);<br />
				loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, this.ytIOError);</p>
<p>				loader.load(new URLRequest(&#8221;ytPlayer.swf?apiKey=&#8221;+API_KEY),_loaderContext); // load ytPlayer.swf : will give us the ytPlayer; to pass in the youtube api key ==&gt; &#8220;ytPlayer.swf?apiKey=XXXXXX&#8221;</p>
<p>but no luck. Can anyone help me or anyone with similiar experience?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Brook</title>
		<link>http://www.ovidiudiac.ro/blog/2009/03/youtube-as3-wrapper-how-to-use/comment-page-1/#comment-611</link>
		<dc:creator>Jerry Brook</dc:creator>
		<pubDate>Fri, 28 Aug 2009 07:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.ovidiudiac.ro/blog/?p=169#comment-611</guid>
		<description>...sorry. thx a lot! its working.</description>
		<content:encoded><![CDATA[<p>&#8230;sorry. thx a lot! its working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.ovidiudiac.ro/blog/2009/03/youtube-as3-wrapper-how-to-use/comment-page-1/#comment-610</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 27 Aug 2009 14:03:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.ovidiudiac.ro/blog/?p=169#comment-610</guid>
		<description>You need to add your created object to the display list of an object on the stage.
You can add after the line where you initialize myTestPlayer:

&lt;code lang=&quot;actionscript3&quot;&gt;
this.addChild(myTestPlayer);
&lt;/code&gt;

</description>
		<content:encoded><![CDATA[<p>You need to add your created object to the display list of an object on the stage.<br />
You can add after the line where you initialize myTestPlayer:</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>myTestPlayer<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Brook</title>
		<link>http://www.ovidiudiac.ro/blog/2009/03/youtube-as3-wrapper-how-to-use/comment-page-1/#comment-609</link>
		<dc:creator>Jerry Brook</dc:creator>
		<pubDate>Thu, 27 Aug 2009 13:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.ovidiudiac.ro/blog/?p=169#comment-609</guid>
		<description>Hi,
can anybody tell me, why the video doesnt load. Im not very good in scripting. I put in my main.fla in the frist frame this script:

var myTestPlayer:TestPlayer = new TestPlayer();

i get no error message. thx 4 the help and sorry 4 the english.

cp</description>
		<content:encoded><![CDATA[<p>Hi,<br />
can anybody tell me, why the video doesnt load. Im not very good in scripting. I put in my main.fla in the frist frame this script:</p>
<p>var myTestPlayer:TestPlayer = new TestPlayer();</p>
<p>i get no error message. thx 4 the help and sorry 4 the english.</p>
<p>cp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.ovidiudiac.ro/blog/2009/03/youtube-as3-wrapper-how-to-use/comment-page-1/#comment-553</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 08 Jun 2009 06:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.ovidiudiac.ro/blog/?p=169#comment-553</guid>
		<description>You should try redownloading the latest wrapper, maybe you got your&#039;s corrupt, and see if that works.</description>
		<content:encoded><![CDATA[<p>You should try redownloading the latest wrapper, maybe you got your&#8217;s corrupt, and see if that works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://www.ovidiudiac.ro/blog/2009/03/youtube-as3-wrapper-how-to-use/comment-page-1/#comment-552</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Mon, 08 Jun 2009 03:13:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.ovidiudiac.ro/blog/?p=169#comment-552</guid>
		<description>Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type.

seems to load really nice !....but get this error ....</description>
		<content:encoded><![CDATA[<p>Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type.</p>
<p>seems to load really nice !&#8230;.but get this error &#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.ovidiudiac.ro/blog/2009/03/youtube-as3-wrapper-how-to-use/comment-page-1/#comment-113</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 28 Apr 2009 13:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.ovidiudiac.ro/blog/?p=169#comment-113</guid>
		<description>Yes,
but as I said &quot;Youtube’s CDN changes ips very frequently, which could break that mechanism&quot;.</description>
		<content:encoded><![CDATA[<p>Yes,<br />
but as I said &#8220;Youtube’s CDN changes ips very frequently, which could break that mechanism&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
