<?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>Marc Hibbins &#187; youtube</title>
	<atom:link href="http://blog.marchibbins.com/category/youtube/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.marchibbins.com</link>
	<description>RIAs, Web standards and the Semantic Web</description>
	<lastBuildDate>Mon, 08 Feb 2010 11:25:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Argument</title>
		<link>http://blog.marchibbins.com/2009/04/20/argument/</link>
		<comments>http://blog.marchibbins.com/2009/04/20/argument/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 13:19:16 +0000</pubDate>
		<dc:creator>Marc Hibbins</dc:creator>
				<category><![CDATA[spotify]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://hibbins.wordpress.com/?p=537</guid>
		<description><![CDATA[If you're like me and cannot resist watching YouTube videos in High Definition or High Quality whenever the option is available, you can now link directly to High Quality and High Definition versions of a video by adding or altering a single argument on the URL string.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me and cannot resist watching YouTube videos in High Definition or High Quality whenever the option is available, you might also get a bit disgruntled that no-one ever seems to link directly to these versions &#8211; or might not know how to.</p>
<p>I&#8217;ve not seen it documented anywhere on YouTube&#8217;s site (maybe you&#8217;re told when you upload a video &#8211; I&#8217;ve not tried), but you can link directly to High Quality and High Definition versions of a video by adding or altering a single argument on the URL string.</p>
<p>For example, take a normal YouTube link:</p>
<blockquote><p><a title="YouTube - X-Men Origins: Wolverine Trailer" href="http://www.youtube.com/watch?v=LPmbGzQaOCs" target="_blank">http://www.youtube.com/watch?v=LPmbGzQaOCs</a></p></blockquote>
<p>If you add <strong>fmt=18</strong> to the end of the URL, you&#8217;ll automatically view the High Quality version:</p>
<blockquote><p><a title="YouTube - X-Men Origins: Wolverine Trailer" href="http://www.youtube.com/watch?v=LPmbGzQaOCs&amp;fmt=18" target="_blank">http://www.youtube.com/watch?v=LPmbGzQaOCs&amp;fmt=18</a></p></blockquote>
<p>If a High Definition version is available, add <strong>fmt=22</strong>:</p>
<blockquote><p><a title="YouTube - Call of Juarez Bound In Blood - Teaser Trailer" href="http://www.youtube.com/watch?v=ikqg99Q4FAw&amp;fmt=22" target="_blank">http://www.youtube.com/watch?v=ikqg99Q4FAw&amp;fmt=22</a></p></blockquote>
<p>Easy!</p>
<p>If you want to embed higher quality versions of the videos through the YouTube player though, you&#8217;ll have to use two arguments like so:</p>
<blockquote><p>&amp;ap=%2526fmt=22</p></blockquote>
<p>The HD videos on YouTube&#8217;s site play at 854 x 505 pixels by default (including the player chrome), but these 720p videos will support up to 1280 x 720 pixels.</p>
<p>You can edit the dimensions of the player in the embed code you&#8217;re provided with. So your final HD embed code will look something like this:</p>
<blockquote><p>&lt;object <strong>width=&#8221;854&#8243; height=&#8221;505&#8243;</strong>&gt;&lt;param name=&#8221;movie&#8221; value=&#8221;http://www.youtube.com/v/ikqg99Q4FAw&amp;hl=en&amp;fs=1<strong>&amp;ap=%2526fmt=22&#8243;</strong>&gt;&lt;/param&gt;&lt;param name=&#8221;allowFullScreen&#8221; value=&#8221;true&#8221;&gt;&lt;/param&gt;&lt;param name=&#8221;allowscriptaccess&#8221; value=&#8221;always&#8221;&gt;&lt;/param&gt;&lt;embed src=&#8221;http://www.youtube.com/v/ikqg99Q4FAw&amp;hl=en&amp;fs=1<strong>&amp;ap=%2526fmt=22</strong>&#8221; type=&#8221;application/x-shockwave-flash&#8221; allowscriptaccess=&#8221;always&#8221; allowfullscreen=&#8221;true&#8221; <strong>width=&#8221;854&#8243; height=&#8221;505&#8243;</strong>&gt;&lt;/embed&gt;&lt;/object&gt;</p></blockquote>
<p>Another thing, you can also jump straight into a specific part a video by adding <strong>#t</strong> parameter and specifying the time value like so:</p>
<blockquote><p><a title="YouTube - The Internet Symphony Global Mash Up" href="http://www.youtube.com/watch?v=oC4FAyg64OI&amp;#t=1m49s" target="_blank">http://www.youtube.com/watch?v=oC4FAyg64OI&amp;#t=1m49s</a></p></blockquote>
<p>These arguments can be paired of course, for example, the same in High Quality:</p>
<blockquote><p><a title="YouTube - The Internet Symphony Global Mash Up" href="http://www.youtube.com/watch?v=oC4FAyg64OI&amp;fmt=18#t=1m49s" target="_blank">http://www.youtube.com/watch?v=oC4FAyg64OI&amp;fmt=18#t=1m49s</a></p></blockquote>
<p>I recently found out you can do this with Spotify URIs, too:</p>
<blockquote><p>spotify:track:02dGPXdVeZsZks4g48yaJE<strong>#0:24</strong></p></blockquote>
<p>Albeit formatted differently, it does the same job. Note this only works with Spotify URIs, it won&#8217;t work with the HTTP links.</p>
<p>It would be nice to see a standard adopted for such features, but it&#8217;s really up to the platform developers to decide upon the mechanism.</p>
<p>Unfortunately too often each one wants to make their own unique. This is a micro example of a much larger problem I tend to go on about (see <a title="Come Together - Marc Hibbins" href="http://hibbins.wordpress.com/2009/01/16/come-together/" target="_blank">Data Portability</a> and <a title="Linked Data - Wikipedia, the free encyclopedia" href="http://en.wikipedia.org/wiki/Linked_Data" target="_blank">Linked Data</a>).</p>
<p>Anyway, I think YouTube should definitely make their quality selection easier. These parameters tweaks feel like code hacks. It would be much nicer if YouTube allowed you to specify &#8216;quality=HD&#8217;, or something similar, to any video link.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.marchibbins.com/2009/04/20/argument/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
