<?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: Play youtube videos in flash tutorial</title>
	<atom:link href="http://www.zainals.com/blog/2007/play-youtube-videos-in-flash-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zainals.com/blog/bahrain/play-youtube-videos-in-flash-tutorial/</link>
	<description>Bahrain E-Marketing specialist, think Digital!</description>
	<lastBuildDate>Wed, 24 Feb 2010 06:23:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Dave</title>
		<link>http://www.zainals.com/blog/bahrain/play-youtube-videos-in-flash-tutorial/comment-page-1/#comment-23098</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 10 Feb 2009 21:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.zainals.com/blog/2007/07/04/play-youtube-videos-in-flash-tutorial/#comment-23098</guid>
		<description>Breon,
I believe youtube changed somthing, I used to have this working, but it hasn&#039;t worked for a while....</description>
		<content:encoded><![CDATA[<p>Breon,<br />
I believe youtube changed somthing, I used to have this working, but it hasn&#8217;t worked for a while&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Breon Snowdon</title>
		<link>http://www.zainals.com/blog/bahrain/play-youtube-videos-in-flash-tutorial/comment-page-1/#comment-20736</link>
		<dc:creator>Breon Snowdon</dc:creator>
		<pubDate>Thu, 16 Oct 2008 20:36:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.zainals.com/blog/2007/07/04/play-youtube-videos-in-flash-tutorial/#comment-20736</guid>
		<description>Hi,

Wow this is fantastic...exactly what I need, but I am having some issues. I can the php file to echo the url..

Flash is giving me the error:

1005: Invalid xml: URL: &quot;http://www.youtube.com/get_video.php?video_id=s-bJSPRRCf8&amp;t=OEgsToPDskJHVGuTHdCpGalSEkuTmk3P&amp;.flv&amp;FLVPlaybackVersion=1.0.2&quot; No root node found; if url is for an flv it must have .flv extension and take no parameters

Ah, any idea you be SO GRATEFULLY!

Cheers Breon</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Wow this is fantastic&#8230;exactly what I need, but I am having some issues. I can the php file to echo the url..</p>
<p>Flash is giving me the error:</p>
<p>1005: Invalid xml: URL: &#8220;http://www.youtube.com/get_video.php?video_id=s-bJSPRRCf8&amp;t=OEgsToPDskJHVGuTHdCpGalSEkuTmk3P&amp;.flv&amp;FLVPlaybackVersion=1.0.2&#8243; No root node found; if url is for an flv it must have .flv extension and take no parameters</p>
<p>Ah, any idea you be SO GRATEFULLY!</p>
<p>Cheers Breon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adinana</title>
		<link>http://www.zainals.com/blog/bahrain/play-youtube-videos-in-flash-tutorial/comment-page-1/#comment-18990</link>
		<dc:creator>adinana</dc:creator>
		<pubDate>Wed, 27 Aug 2008 14:24:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.zainals.com/blog/2007/07/04/play-youtube-videos-in-flash-tutorial/#comment-18990</guid>
		<description>Error opening URL &#039;http://www.youtube.com/v/PAlNMaxZVTk

how do I solve this issue</description>
		<content:encoded><![CDATA[<p>Error opening URL &#8216;http://www.youtube.com/v/PAlNMaxZVTk</p>
<p>how do I solve this issue</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darkneo</title>
		<link>http://www.zainals.com/blog/bahrain/play-youtube-videos-in-flash-tutorial/comment-page-1/#comment-15937</link>
		<dc:creator>darkneo</dc:creator>
		<pubDate>Sun, 18 May 2008 14:26:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.zainals.com/blog/2007/07/04/play-youtube-videos-in-flash-tutorial/#comment-15937</guid>
		<description>I read a lot of articles to play a youtube video in flash/ flex and now I&#039;m lost!! I don&#039;t understand! Is there an easy way to play a youtube video in Flash/Flex without have a sandbox error now? I follow an example on abdulblog but now, without the &quot;free crossdomain.xml&quot; , we can&#039;t play a youtube video without have an sandbox error. So how we can? You talk about a server side proxy but I don&#039;t understand how it can be use to play the video. To retrieve XML, I understand, but to play the video into the flash I don&#039;t understand. Please help if you have a way to resolve!</description>
		<content:encoded><![CDATA[<p>I read a lot of articles to play a youtube video in flash/ flex and now I&#8217;m lost!! I don&#8217;t understand! Is there an easy way to play a youtube video in Flash/Flex without have a sandbox error now? I follow an example on abdulblog but now, without the &#8220;free crossdomain.xml&#8221; , we can&#8217;t play a youtube video without have an sandbox error. So how we can? You talk about a server side proxy but I don&#8217;t understand how it can be use to play the video. To retrieve XML, I understand, but to play the video into the flash I don&#8217;t understand. Please help if you have a way to resolve!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sallaboy</title>
		<link>http://www.zainals.com/blog/bahrain/play-youtube-videos-in-flash-tutorial/comment-page-1/#comment-11966</link>
		<dc:creator>sallaboy</dc:creator>
		<pubDate>Wed, 05 Mar 2008 23:02:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.zainals.com/blog/2007/07/04/play-youtube-videos-in-flash-tutorial/#comment-11966</guid>
		<description>Hi,

does your example suitable for actionscript 2.0 ?
If it is, how did you solved the cross domain problem ? 
Ho do I make AbdulQabiz youtube php engine work in actionscript 2.0 ?

Sallaboy</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>does your example suitable for actionscript 2.0 ?<br />
If it is, how did you solved the cross domain problem ?<br />
Ho do I make AbdulQabiz youtube php engine work in actionscript 2.0 ?</p>
<p>Sallaboy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin Casey</title>
		<link>http://www.zainals.com/blog/bahrain/play-youtube-videos-in-flash-tutorial/comment-page-1/#comment-10002</link>
		<dc:creator>Robin Casey</dc:creator>
		<pubDate>Thu, 14 Feb 2008 22:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.zainals.com/blog/2007/07/04/play-youtube-videos-in-flash-tutorial/#comment-10002</guid>
		<description>If you get into some errors, like 1005;

try to handle your php/asp flv-rendering-source in Flash like:
your-path-way/to/heaven/ STREAM-HANDLER  .  php /   anything-here.flv
.php COULD be .asp here, :-p

Flash adds ?xxxx to the file, so faking an extension in any other way won&#039;t work.</description>
		<content:encoded><![CDATA[<p>If you get into some errors, like 1005;</p>
<p>try to handle your php/asp flv-rendering-source in Flash like:<br />
your-path-way/to/heaven/ STREAM-HANDLER  .  php /   anything-here.flv<br />
.php COULD be .asp here, :-p</p>
<p>Flash adds ?xxxx to the file, so faking an extension in any other way won&#8217;t work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammed Zainal</title>
		<link>http://www.zainals.com/blog/bahrain/play-youtube-videos-in-flash-tutorial/comment-page-1/#comment-9601</link>
		<dc:creator>Mohammed Zainal</dc:creator>
		<pubDate>Mon, 11 Feb 2008 13:36:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.zainals.com/blog/2007/07/04/play-youtube-videos-in-flash-tutorial/#comment-9601</guid>
		<description>i fixed the vid mate , i dont know what is exactly going on with your script , i need sometime to see it , busy at the moment ...
:)</description>
		<content:encoded><![CDATA[<p>i fixed the vid mate , i dont know what is exactly going on with your script , i need sometime to see it , busy at the moment &#8230;<br />
 <img src='http://www.zainals.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Motoko</title>
		<link>http://www.zainals.com/blog/bahrain/play-youtube-videos-in-flash-tutorial/comment-page-1/#comment-9599</link>
		<dc:creator>Motoko</dc:creator>
		<pubDate>Mon, 11 Feb 2008 13:18:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.zainals.com/blog/2007/07/04/play-youtube-videos-in-flash-tutorial/#comment-9599</guid>
		<description>I&#039;m trying to load 3 different youtube videos in a movie depending on 3 buttons.

My code is:

pest_1.onRelease = function() {
_root.createEmptyMovieClip(&quot;mc&quot;,0);		unloadMovie(mc);
loadMovie(&quot;http://www.youtube.com/v/HO-BcoXYGuA&amp;autoplay=1&amp;noscale=true&quot;,mc);
mc._x=15;
mc._y=40;
mc._xscale=90;
mc._yscale=80;
}

pest_2.onRelease = function() {
unloadMovie(mc);
loadMovie(&quot;http://youtube.com/v/zUjMMKuzBPQ&amp;autoplay=1&amp;noscale=true&quot;,mc);
}

pest_3.onRelease = function() {
unloadMovie(mc);
loadMovie(&quot;http://youtube.com/v/ZjHMSE7-oME&amp;autoplay=1&amp;noscale=true&quot;,mc);
}
stop();

I really don&#039;t know why, i can see the first two videos. When i try to load the third, the movieclip show grey and any video can be played anymore.

The tutorial you made isn&#039;t aviable anymore. Can you give me some advice?</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to load 3 different youtube videos in a movie depending on 3 buttons.</p>
<p>My code is:</p>
<p>pest_1.onRelease = function() {<br />
_root.createEmptyMovieClip(&#8220;mc&#8221;,0);		unloadMovie(mc);<br />
loadMovie(&#8220;http://www.youtube.com/v/HO-BcoXYGuA&amp;autoplay=1&amp;noscale=true&#8221;,mc);<br />
mc._x=15;<br />
mc._y=40;<br />
mc._xscale=90;<br />
mc._yscale=80;<br />
}</p>
<p>pest_2.onRelease = function() {<br />
unloadMovie(mc);<br />
loadMovie(&#8220;http://youtube.com/v/zUjMMKuzBPQ&amp;autoplay=1&amp;noscale=true&#8221;,mc);<br />
}</p>
<p>pest_3.onRelease = function() {<br />
unloadMovie(mc);<br />
loadMovie(&#8220;http://youtube.com/v/ZjHMSE7-oME&amp;autoplay=1&amp;noscale=true&#8221;,mc);<br />
}<br />
stop();</p>
<p>I really don&#8217;t know why, i can see the first two videos. When i try to load the third, the movieclip show grey and any video can be played anymore.</p>
<p>The tutorial you made isn&#8217;t aviable anymore. Can you give me some advice?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaxx</title>
		<link>http://www.zainals.com/blog/bahrain/play-youtube-videos-in-flash-tutorial/comment-page-1/#comment-5832</link>
		<dc:creator>jaxx</dc:creator>
		<pubDate>Sun, 09 Dec 2007 10:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.zainals.com/blog/2007/07/04/play-youtube-videos-in-flash-tutorial/#comment-5832</guid>
		<description>Heres another example
http://jaxxrr.110mb.com/other/fs3.html
and heres the sourcecode
http://jaxxrr.110mb.com/other/flash-fullscreen-youtube.zip

the fullscreen part is nothing special really.. one line of script on a button

on (release) {
	Stage.displayState = &quot;fullScreen&quot;;
}
but you also need to edit the html file and set the allowFullScreen parameter from false to true, it is there just set it to true (don&#039;t write it twice like I did :) )

so either

        ...


or
AC_FL_RunContent( ... &quot;allowFullScreen&quot;, &quot;true&quot;, ... )

depending on how you launch the flash..

Also make sure your html file does&#039;nt get overwritten when publishing again.. go to publish settings and uncheck html

this info is also in flash CS3 help :)

cheers</description>
		<content:encoded><![CDATA[<p>Heres another example<br />
<a href="http://jaxxrr.110mb.com/other/fs3.html" rel="nofollow">http://jaxxrr.110mb.com/other/fs3.html</a><br />
and heres the sourcecode<br />
<a href="http://jaxxrr.110mb.com/other/flash-fullscreen-youtube.zip" rel="nofollow">http://jaxxrr.110mb.com/other/flash-fullscreen-youtube.zip</a></p>
<p>the fullscreen part is nothing special really.. one line of script on a button</p>
<p>on (release) {<br />
	Stage.displayState = &#8220;fullScreen&#8221;;<br />
}<br />
but you also need to edit the html file and set the allowFullScreen parameter from false to true, it is there just set it to true (don&#8217;t write it twice like I did <img src='http://www.zainals.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>so either</p>
<p>        &#8230;</p>
<p>or<br />
AC_FL_RunContent( &#8230; &#8220;allowFullScreen&#8221;, &#8220;true&#8221;, &#8230; )</p>
<p>depending on how you launch the flash..</p>
<p>Also make sure your html file does&#8217;nt get overwritten when publishing again.. go to publish settings and uncheck html</p>
<p>this info is also in flash CS3 help <img src='http://www.zainals.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aSnOÂ®</title>
		<link>http://www.zainals.com/blog/bahrain/play-youtube-videos-in-flash-tutorial/comment-page-1/#comment-4425</link>
		<dc:creator>aSnOÂ®</dc:creator>
		<pubDate>Sat, 03 Nov 2007 20:05:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.zainals.com/blog/2007/07/04/play-youtube-videos-in-flash-tutorial/#comment-4425</guid>
		<description>&lt;strong&gt;Hey What happened with the video&lt;/strong&gt;
I came to watch your video again but it is not published anymore, how can I do to watch it again?
sorry for my bad english...</description>
		<content:encoded><![CDATA[<p><strong>Hey What happened with the video</strong><br />
I came to watch your video again but it is not published anymore, how can I do to watch it again?<br />
sorry for my bad english&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
