<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>American in Spain &#187; youtube</title>
	<atom:link href="http://erikras.com/tag/youtube/feed/" rel="self" type="application/rss+xml" />
	<link>http://erikras.com</link>
	<description>Thoughts and photos from an American living in Spain.</description>
	<lastBuildDate>Thu, 24 May 2012 17:04:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>YT-Audio: Audio Hosting From YouTube in WordPress</title>
		<link>http://erikras.com/2007/09/25/yt-audio-audio-hosting-from-youtube-in-wordpress/</link>
		<comments>http://erikras.com/2007/09/25/yt-audio-audio-hosting-from-youtube-in-wordpress/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 20:06:20 +0000</pubDate>
		<dc:creator>erik</dc:creator>
				<category><![CDATA[Geeky]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.erik-rasmussen.com/blog/2007/09/25/yt-audio-audio-hosting-from-youtube-in-wordpress/</guid>
		<description><![CDATA[I&#8217;m a huge fan of the Audio Player plugin for WordPress that lets you embed a flash player for a single MP3 file in a blog post. The problem is that you have to host the MP3 file yourself, and if your hosting service isn&#8217;t very generous with either storage space or bandwidth, it&#8217;s not [...]<div class="related-posts"><h4>Related Posts</h4><dl>
<dt><a href='http://erikras.com/2007/05/30/untitled-ditty/' rel='bookmark' title='Untitled Ditty'>Untitled Ditty</a></li>
<dt><a href='http://erikras.com/2006/10/24/revver-wordpress-plugin/' rel='bookmark' title='Revver WordPress Plugin'>Revver WordPress Plugin</a></li>
<dt><a href='http://erikras.com/2007/04/08/wordpress-countdown-widget/' rel='bookmark' title='WordPress Countdown Widget'>WordPress Countdown Widget</a></li>
</dl></div>]]></description>
			<content:encoded><![CDATA[<p><a class="post-thumb erpic" title="YT-Audio by erikrasmussen, on Flickr" href="http://www.flickr.com/photos/erikrasmussen/3305136504/"><img alt="YT-Audio" src="http://farm4.static.flickr.com/3526/3305136504_b6afb922eb_t.jpg" width="100" height="51"/></a>I&#8217;m a huge fan of the <a href="http://www.1pixelout.net/code/audio-player-wordpress-plugin/">Audio Player</a> plugin for WordPress that lets you embed a flash player for a single MP3 file in a blog post.  The problem is that you have to host the MP3 file yourself, and if your hosting service isn&#8217;t very generous with either storage space or bandwidth, it&#8217;s not a very good solution.<br />
<span id="more-384"></span><br />
Most of the time that I want to attach a song to a blog post, it&#8217;s usually some pop song that I&#8217;m either listening to or my mood has reminded me of.  Let&#8217;s face it, YouTube is the new MTV.  Name a pop song, and the music video is probably on YouTube.  I could embed the whole YouTube video of a song on my blog, but what if I just want the audio?  What do I do then?</p>
<p>Introducing&#8230;. YT-Audio, the plugin for WordPress to embed the audio from a YouTube video on your blog!</p>
<p><a style="margin-left:30px;margin-bottom:20px;padding:10px;width:400px;float:left;border:2px outset #990000;text-align:center;font-weight:bold;background-color:#E5ECF7" href="http://dl.dropbox.com/u/5100577/yt-audio-streaming-audio-from-youtube.zip">yt-audio-streaming-audio-from-youtube.zip</a></p>
<h3>How does it work?</h3>
<p>It&#8217;s actually ridiculously simple.  All it does is embed YouTube&#8217;s regular flash movie player inside two iframes that chop off all but the bottom control bar of the video.  Nothing fancy.  Just useful.</p>
<h3>Instructions</h3>
<p>You install it just like any other WordPress plugin.  Unzip it into the /wp-content/plugins, directory.  Then, in your post, put the text:</p>
<p><code>ytaudi&#111;(2_HXUhShhmY)</code><br />
Where &#8220;2_HXUhShhmY&#8221; is the code for the video on YouTube.  And you should get something like:</p>
<p><iframe width="361" height="25" scrolling="no" style="border:none;" src="http://erikras.com/wp-content/plugins/yt-audio-streaming-audio-from-youtube/frame.php?v=2_HXUhShhmY">\n</iframe><!-- yt-audio: http://erikras.com/2007/09/25/yt-audio-audio-hosting-from-youtube-in-wordpress/ --></p>
<p>It&#8217;s just that simple!  I&#8217;ve tested this on Firefox, Safari and IE 7.  It looks pretty good in all three.  Enjoy!</p>
<h3>Frequently Asked Questions</h3>
<dl>
<dt><strong>The player shows up, but the song won&#8217;t play. What&#8217;s up?</strong></dt>
<dd>This will happen if embedding has been disabled for the video you are using. Because the video portion of the player is hidden, so is the message telling you that embedding is disabled. Try to embed the entire video with the full embed code from YouTube before reporting a problem.</dd>
<dt><strong>Where is the volume control?</strong></dt>
<dd>When the volume control opens in the YouTube player, it opens over the video portion of the player, which is hidden inside a frame by this plugin, so even if YT-Audio displayed the volume control button, you could not change the volume with it because the popup slider would be hidden. This is unfortunate, but there&#8217;s nothing that can be done about it.</dd>
<dt><strong>I&#8217;m getting something in the frame that looks like my blog header. What&#8217;s wrong?</strong></dt>
<dd>This will happen if your plugins directory is not in the default location. You will need to edit the two lines in `ytaudio.php` that contain `wp-content/plugins/yt-audio-streaming-audio-from-youtube` to reflect the actual location of the ytaudio plugin with respect to your blog root.</dd>
</dl>
<h3>Change History</h3>
<table style="width:100%;">
<tr>
<td>1.7</td>
<td>2011-02-22</td>
<td>Changed embed code to work with YouTube&#8217;s new player</td>
</tr>
<tr>
<td>1.6</td>
<td>2009-04-30</td>
<td>Oops. Remembered why volume control should be hidden. Sorry!</td>
</tr>
<tr>
<td>1.5</td>
<td>2009-04-30</td>
<td>Expanded iframe to include volume control.</td>
</tr>
<tr>
<td>1.4</td>
<td>2009-02-23</td>
<td>Fixed urls referencing plugins directory to work with the zip file available from <a href="http://wordpress.org/extend/plugins/yt-audio-streaming-audio-from-youtube/">wordpress.org</a>.</td>
</tr>
<tr>
<td>1.2</td>
<td>2009-02-20</td>
<td>Fixed to accept YouTube codes with underscores and dashes.</td>
</tr>
<tr>
<td>1.1</td>
<td>2007-12-04</td>
<td>Modified to handle YouTube&#8217;s new flash player.</td>
</tr>
<tr>
<td style="width:30px;">1.0</td>
<td style="width:80px;">2007-09-25</td>
<td>Original version</td>
</tr>
</table>
<div class="promote"><div class="tweet-button"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://erikras.com?utm_source=Twitter&utm_medium=Social&utm_campaign=Tweet%2BButton" data-via="erikras" data-count="horizontal" data-related="noraras" data-text="American in Spain: Thoughts and photos from an American living in Spain.">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook-like"><iframe src="http://www.facebook.com/plugins/like.php?href=http://erikras.com%3Futm_source%3DFacebook%26utm_medium%3DSocial%26utm_campaign%3DLike%252BButton&amp;layout=button_count&amp;show_faces=false&amp;width=250&amp;action=recommend&amp;colorscheme=light&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:35px;" allowTransparency="true"></iframe></div><div class="google-plus-one"><g:plusone></g:plusone></div></div><span style="clear:both;">&nbsp;</span><div class="related-posts"><h4>Related Posts</h4><dl>
<dt><a href='http://erikras.com/2007/05/30/untitled-ditty/' rel='bookmark' title='Untitled Ditty'>Untitled Ditty</a></li>
<dt><a href='http://erikras.com/2006/10/24/revver-wordpress-plugin/' rel='bookmark' title='Revver WordPress Plugin'>Revver WordPress Plugin</a></li>
<dt><a href='http://erikras.com/2007/04/08/wordpress-countdown-widget/' rel='bookmark' title='WordPress Countdown Widget'>WordPress Countdown Widget</a></li>
</dl></div>]]></content:encoded>
			<wfw:commentRss>http://erikras.com/2007/09/25/yt-audio-audio-hosting-from-youtube-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>68</slash:comments>
		</item>
	</channel>
</rss>

