<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Page comments</title>
		<link>http://www.ssbits.com/home/</link>
		<atom:link href="http://www.ssbits.com/home/" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_2522</link>
			<description>Can anyone help me with how to use &quot;Controller::curr()&quot;, as mentioned above please?

I've got &quot;ClientYouTubeID&quot; as a page variable, rather than as part of the ShortCode, so I need to be able to call the variable $ClientYouTubeID within my YouTube.ss template, and I don't understand how to do it. At the moment it just doesnt return anything.

Thanks!</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_2522</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_2424</link>
			<description>I've created a module for SIlverStripe 3 based on this tutorial, see https://github.com/gordonbanderson/weboftalent-youtube for the code.   The only difference from memory was changing

ShortcodeParser::get()

to

ShortcodeParser::get('default')

in the configuration file


Cheers

Gordon</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_2424</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_1835</link>
			<description>I installed the youtubevideos package created by Studio Bonito and I have embedded a YouTube video into one of SS pages on my site. It works perfectly in Firefox, Safari, Chrome and IE9, but it does not work in IE7 or IE8. In IE7 and IE8, all I get is a white box where the video should be.

Has anyone else run into this problem?

Cheers</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_1835</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_892</link>
			<description>Please, for gods sake, don't let the user think all is good!

public function onBeforeWrite(){
	        parent::onBeforeWrite();
	        /**
                 * Strip everything but the actual code.
	         */
	        if(isset($this-&gt;YoutubeCode)){
	            preg_match('#(\.be/|/embed/|/v/|/watch\?v=)([A-Za-z0-9_-]{5,11})#', $this-&gt;YoutubeCode, $matches);
	            if(isset($matches[2]) &amp;&amp; $matches[2] != ''){
	                $this-&gt;YoutubeCode = $matches[2];
	            }
	        }
}</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_892</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_648</link>
			<description>Hi mrsteveheyes,

That looks pretty sweet. thanks!

The code up here isn't actually complete and there are way more options that can be set. I'll try and find some time to fork and add the rest to the github repo.

Dan</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_648</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_647</link>
			<description>Thanks so much for this tutorial.

We at Studio Bonito have put this into a nice easy module to use. It also has a nice button for the TinyMC WYSIWYG 

Feel free to fork it form our GitHub account - https://github.com/studiobonito/silverstripe-youtubevideos

Cheers,
Steve</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_647</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_638</link>
			<description>hmm. It works on pages, but not in blogentries, it shows only the [text].</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_638</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_637</link>
			<description>If you add this to your site, it will work in any content area, i believe.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_637</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_636</link>
			<description>Great.

How can this be enabled in the blog module?
Thanks</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_636</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_591</link>
			<description>It was indeed a great trick. </description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/#PageComment_591</guid>
		</item>
		

	</channel>
</rss>