<?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 player embed with attached playlist</title>
	<atom:link href="http://www.php-help.ro/mootools-12-javascript-examples/youtube-player-embed-with-attached-playlist/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.php-help.ro/mootools-12-javascript-examples/youtube-player-embed-with-attached-playlist/</link>
	<description>All about integrating PHP with JavaScript and Flash</description>
	<lastBuildDate>Tue, 31 Jan 2012 02:53:55 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Richard Perry</title>
		<link>http://www.php-help.ro/mootools-12-javascript-examples/youtube-player-embed-with-attached-playlist/comment-page-2/#comment-5897</link>
		<dc:creator>Richard Perry</dc:creator>
		<pubDate>Fri, 20 Jan 2012 18:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-help.ro/?p=431#comment-5897</guid>
		<description>First off, thank for this script, it works wonderfully! However, I have noticed if you change the &quot;list&quot; to more than 50, the script will continue to load and never change. Is this something on my end? Or possibly something with the script?

Thanks!

-R.J.-</description>
		<content:encoded><![CDATA[<p>First off, thank for this script, it works wonderfully! However, I have noticed if you change the &#8220;list&#8221; to more than 50, the script will continue to load and never change. Is this something on my end? Or possibly something with the script?</p>
<p>Thanks!</p>
<p>-R.J.-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: StevenB</title>
		<link>http://www.php-help.ro/mootools-12-javascript-examples/youtube-player-embed-with-attached-playlist/comment-page-2/#comment-5843</link>
		<dc:creator>StevenB</dc:creator>
		<pubDate>Tue, 20 Dec 2011 22:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-help.ro/?p=431#comment-5843</guid>
		<description>When I use Steve&#039;s playlist id (F3876ED3DDD89C7A) it works.  But when I use my playlist id (PL7BE049FC08386500) it does not work.  I&#039;ve verified and I have my playlist privacy set to &quot;public&quot; and have the setting checked for &quot;Allow others to embed this playlist&quot;.  I&#039;m not sure where to go from here.</description>
		<content:encoded><![CDATA[<p>When I use Steve&#8217;s playlist id (F3876ED3DDD89C7A) it works.  But when I use my playlist id (PL7BE049FC08386500) it does not work.  I&#8217;ve verified and I have my playlist privacy set to &#8220;public&#8221; and have the setting checked for &#8220;Allow others to embed this playlist&#8221;.  I&#8217;m not sure where to go from here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: StevenB</title>
		<link>http://www.php-help.ro/mootools-12-javascript-examples/youtube-player-embed-with-attached-playlist/comment-page-2/#comment-5842</link>
		<dc:creator>StevenB</dc:creator>
		<pubDate>Tue, 20 Dec 2011 21:45:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-help.ro/?p=431#comment-5842</guid>
		<description>One error fixed.  When I cut-and-pasted the else statement from steve&#039;s message into the MyTube.js file, my editor changed the single-quote marks into those fancier open-quote-mark or close-quote-mark (like what Word&#039;s auto-correct does to quotation marks).  Now my player displays with the &quot;Loading, please wait...&quot; message that never ends.  So I assume I still have an issue with how I have the playlist ID defined.</description>
		<content:encoded><![CDATA[<p>One error fixed.  When I cut-and-pasted the else statement from steve&#8217;s message into the MyTube.js file, my editor changed the single-quote marks into those fancier open-quote-mark or close-quote-mark (like what Word&#8217;s auto-correct does to quotation marks).  Now my player displays with the &#8220;Loading, please wait&#8230;&#8221; message that never ends.  So I assume I still have an issue with how I have the playlist ID defined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: StevenB</title>
		<link>http://www.php-help.ro/mootools-12-javascript-examples/youtube-player-embed-with-attached-playlist/comment-page-2/#comment-5841</link>
		<dc:creator>StevenB</dc:creator>
		<pubDate>Tue, 20 Dec 2011 21:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-help.ro/?p=431#comment-5841</guid>
		<description>&quot;less than sign&quot; &quot;exclamation point&quot; &quot;dash&quot; &quot;dash&quot; &quot;left brace&quot;&#039;playlist&#039;:&#039;PL7BE049FC08386500&#039; &quot;right brace&quot; &quot;dash&quot; &quot;dash&quot; &quot;greater than sign&quot;    (I hope that this finally works to explain how I have it incorrectly set up.</description>
		<content:encoded><![CDATA[<p>&#8220;less than sign&#8221; &#8220;exclamation point&#8221; &#8220;dash&#8221; &#8220;dash&#8221; &#8220;left brace&#8221;&#8216;playlist&#8217;:'PL7BE049FC08386500&#8242; &#8220;right brace&#8221; &#8220;dash&#8221; &#8220;dash&#8221; &#8220;greater than sign&#8221;    (I hope that this finally works to explain how I have it incorrectly set up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: StevenB</title>
		<link>http://www.php-help.ro/mootools-12-javascript-examples/youtube-player-embed-with-attached-playlist/comment-page-2/#comment-5840</link>
		<dc:creator>StevenB</dc:creator>
		<pubDate>Tue, 20 Dec 2011 21:35:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-help.ro/?p=431#comment-5840</guid>
		<description>Steve (and everyone else) -
My apologies, but I&#039;m having troubles getting around this comment page ignoring the comment line.  Let me try it this way:
   (NOTE: REMOVE ALL of the &quot;x&quot;s)</description>
		<content:encoded><![CDATA[<p>Steve (and everyone else) -<br />
My apologies, but I&#8217;m having troubles getting around this comment page ignoring the comment line.  Let me try it this way:<br />
   (NOTE: REMOVE ALL of the &#8220;x&#8221;s)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: StevenB</title>
		<link>http://www.php-help.ro/mootools-12-javascript-examples/youtube-player-embed-with-attached-playlist/comment-page-2/#comment-5839</link>
		<dc:creator>StevenB</dc:creator>
		<pubDate>Tue, 20 Dec 2011 21:33:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-help.ro/?p=431#comment-5839</guid>
		<description>I see the problem with posting to this page.  The comment statement (which lists the parameters for the playlist get interpreted as a comment by this page and therefore don&#039;t display.  Let me try it this way:

I changed the comment line my index.html to:
   (NOTE: I ADDED SPACES TO TRICK THE MESSAGE BOARD INTO THINKING THAT THIS ISN&#039;T A COMMENT THAT SHOULD BE IGNORED)</description>
		<content:encoded><![CDATA[<p>I see the problem with posting to this page.  The comment statement (which lists the parameters for the playlist get interpreted as a comment by this page and therefore don&#8217;t display.  Let me try it this way:</p>
<p>I changed the comment line my index.html to:<br />
   (NOTE: I ADDED SPACES TO TRICK THE MESSAGE BOARD INTO THINKING THAT THIS ISN&#8217;T A COMMENT THAT SHOULD BE IGNORED)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: StevenB</title>
		<link>http://www.php-help.ro/mootools-12-javascript-examples/youtube-player-embed-with-attached-playlist/comment-page-2/#comment-5838</link>
		<dc:creator>StevenB</dc:creator>
		<pubDate>Tue, 20 Dec 2011 21:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-help.ro/?p=431#comment-5838</guid>
		<description>Steve - I updated the MyTube.js file with the else statement for playlists.  Then in my index.html file I changed the comment line to be 
&lt;!--{&#039;playlist&#039;:&#039;PL7BE049FC08386500&#039;}--&gt;
but that doesn&#039;t work.  What&#039;s the correct way to add “playlist” and playlist ID to the index.html page?
Thanks in advance for clarifying this point for me.
I</description>
		<content:encoded><![CDATA[<p>Steve &#8211; I updated the MyTube.js file with the else statement for playlists.  Then in my index.html file I changed the comment line to be<br />
<!--{'playlist':'PL7BE049FC08386500'}--><br />
but that doesn&#8217;t work.  What&#8217;s the correct way to add “playlist” and playlist ID to the index.html page?<br />
Thanks in advance for clarifying this point for me.<br />
I</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://www.php-help.ro/mootools-12-javascript-examples/youtube-player-embed-with-attached-playlist/comment-page-2/#comment-5830</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Mon, 12 Dec 2011 17:24:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-help.ro/?p=431#comment-5830</guid>
		<description>Just add an &#039;else if&#039; statement for a playlist to the MyTube.js file (in the playlists function) like this (the user and movies &#039;if&#039; statements are already present. notice the playlist &#039;else if&#039; statement under the one for movies):

                       if(data.user){
				url+=&#039;users/&#039;+data.user+&#039;/uploads/?v=2&amp;alt=json-in-script&amp;orderby=published&#039;;
				if( data.list )
					url+=&#039;&amp;max-results=&#039;+data.list;
			}
			else if(data.movies){
				url+=&#039;videos/?v=2&amp;alt=json-in-script&amp;orderby=published&amp;q=&#039;+data.movies;
			}
			else if(data.playlist){
				url+=&#039;playlists/&#039;+data.playlist+&#039;?v=2&amp;alt=json-in-script&amp;orderby=published&#039;;
			}

then add &quot;playlist&quot; and playlist ID to the index.html page like this:

&lt;!--{&#039;list&#039;:&#039;12&#039;,&#039;playlist&#039;:&#039;F3876ED3DDD89C7A&#039;}--&gt;

It worked for me.</description>
		<content:encoded><![CDATA[<p>Just add an &#8216;else if&#8217; statement for a playlist to the MyTube.js file (in the playlists function) like this (the user and movies &#8216;if&#8217; statements are already present. notice the playlist &#8216;else if&#8217; statement under the one for movies):</p>
<p>                       if(data.user){<br />
				url+=&#8217;users/&#8217;+data.user+&#8217;/uploads/?v=2&amp;alt=json-in-script&amp;orderby=published&#8217;;<br />
				if( data.list )<br />
					url+=&#8217;&amp;max-results=&#8217;+data.list;<br />
			}<br />
			else if(data.movies){<br />
				url+=&#8217;videos/?v=2&amp;alt=json-in-script&amp;orderby=published&amp;q=&#8217;+data.movies;<br />
			}<br />
			else if(data.playlist){<br />
				url+=&#8217;playlists/&#8217;+data.playlist+&#8217;?v=2&amp;alt=json-in-script&amp;orderby=published&#8217;;<br />
			}</p>
<p>then add &#8220;playlist&#8221; and playlist ID to the index.html page like this:</p>
<p><!--{'list':'12','playlist':'F3876ED3DDD89C7A'}--></p>
<p>It worked for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Constantin Boiangiu</title>
		<link>http://www.php-help.ro/mootools-12-javascript-examples/youtube-player-embed-with-attached-playlist/comment-page-2/#comment-5818</link>
		<dc:creator>Constantin Boiangiu</dc:creator>
		<pubDate>Mon, 05 Dec 2011 08:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-help.ro/?p=431#comment-5818</guid>
		<description>For the titles to be displayed beneath the thumbnail, you&#039;ll need to edit the JavaScript. Sorry about that.
Regarding full-screen option, this player uses the chromless player api google provides and loads the SWF player from google. Can&#039;t say why the full-screen button isn&#039;t available and to be really honest, I don&#039;t really have the time right now to look into it. If you find out something, please let us know and we&#039;ll try and make an update.</description>
		<content:encoded><![CDATA[<p>For the titles to be displayed beneath the thumbnail, you&#8217;ll need to edit the JavaScript. Sorry about that.<br />
Regarding full-screen option, this player uses the chromless player api google provides and loads the SWF player from google. Can&#8217;t say why the full-screen button isn&#8217;t available and to be really honest, I don&#8217;t really have the time right now to look into it. If you find out something, please let us know and we&#8217;ll try and make an update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://www.php-help.ro/mootools-12-javascript-examples/youtube-player-embed-with-attached-playlist/comment-page-2/#comment-5813</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Fri, 02 Dec 2011 20:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-help.ro/?p=431#comment-5813</guid>
		<description>Nice script - thanks for sharing and works as advertised.  Couple quick questions on customization.  I&#039;d like to lay the playlist thumbnails out along the bottom verses the top and turn off the animation so they&#039;re always visible.  Also need to place each clip name centered below each clip thumbnail.  Can all this be done in CSS or does it require tweaking of the script?  

Lastly, I&#039;d like to have the full screen button, but it appears that&#039;s not an option here for some reason (odd since you rarely ever see a YouTube video that doesn&#039;t off a full screen option).  Is this a MooTools limitation in the player they use/reference or just need to be fixed in the YouTube player reference (I&#039;ve seen values like {allowfullscreen} that enables this with their regular iframe embeds)?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Nice script &#8211; thanks for sharing and works as advertised.  Couple quick questions on customization.  I&#8217;d like to lay the playlist thumbnails out along the bottom verses the top and turn off the animation so they&#8217;re always visible.  Also need to place each clip name centered below each clip thumbnail.  Can all this be done in CSS or does it require tweaking of the script?  </p>
<p>Lastly, I&#8217;d like to have the full screen button, but it appears that&#8217;s not an option here for some reason (odd since you rarely ever see a YouTube video that doesn&#8217;t off a full screen option).  Is this a MooTools limitation in the player they use/reference or just need to be fixed in the YouTube player reference (I&#8217;ve seen values like {allowfullscreen} that enables this with their regular iframe embeds)?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

