<?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>Puffbox.com &#187; PHP</title>
	<atom:link href="http://puffbox.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://puffbox.com</link>
	<description>Adventures in government, politics and open source. Mostly WordPress-related.</description>
	<lastBuildDate>Fri, 30 Jul 2010 16:08:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Gordon Brown on your Wii</title>
		<link>http://puffbox.com/2008/10/28/downing-street-wii-youtube/</link>
		<comments>http://puffbox.com/2008/10/28/downing-street-wii-youtube/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 13:05:59 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[company]]></category>
		<category><![CDATA[e-government]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[downingstreet]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[puffbox]]></category>
		<category><![CDATA[wii]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://puffbox.com/?p=460</guid>
		<description><![CDATA[One of the more inspiring developments at the BBC recently has been the extension of iPlayer away from the desktop PC. Back in April, they launched iPlayer on the Wii - but it wasn't the breakthrough moment it might have been. Leaving aside the fact it didn't stream especially smoothly on my machine, the interface [...]]]></description>
			<content:encoded><![CDATA[<p>One of the more inspiring developments at the BBC recently has been the extension of iPlayer away from the desktop PC. Back in April, they <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/04/bbc_iplayer_on_wii.html">launched iPlayer on the Wii</a> - but it wasn't the breakthrough moment it might have been. Leaving aside the fact it didn't stream especially smoothly on my machine, the interface was optimised for a screen resolution which the Wii couldn't deliver, making for a horrid user experience. Last week <a href="http://www.bbc.co.uk/blogs/bbcinternet/2008/10/bbc_iplayer_on_wii_new_bigscre.html">they made amends</a>, with a Wii-optimised screen setup - and it's truly brilliant. <a href="http://www.bbc.co.uk/iplayer/bigscreen/">Try it on your desktop PC</a>, but to appreciate its full glory, you need to be sitting on the living room sofa, in proper telly-watching mode.</p>
<p>I've been a bit surprised that people haven't done more optimising of content for 'games consoles' - particularly the current generation, with their online capabilities. And with the Wii (again) <a href="http://www.amazon.co.uk/gp/bestsellers/videogames/">selling</a> like hot cakes (set to get <a href="http://www.techdigest.tv/2008/10/attention_ninte.html">even hotter</a> too), it has <em>tremendous</em> potential for video-on-demand in the living room.</p>
<p>Inspired by the Beeb's efforts, I wondered how much effort it would take to put a Wii-friendly front end on some YouTube content. So I took a few hours last night to build a prototype - and here it is: <a href="http://wii10.puffbox.co.uk">wii10.puffbox.co.uk</a></p>
<p><a href="http://wii10.puffbox.co.uk"><img class="alignnone size-thumbnail wp-image-461" src="http://puffbox.com/wp-content/uploads/2008/10/image1532-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://wii10.puffbox.co.uk"><img class="alignnone size-thumbnail wp-image-464" src="http://puffbox.com/wp-content/uploads/2008/10/image1533-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://wii10.puffbox.co.uk"><img class="alignnone size-thumbnail wp-image-468" title="Wii10 running in Google Chrome" src="http://puffbox.com/wp-content/uploads/2008/10/wii10-chrome-211x150.jpg" alt="" width="211" height="150" /></a></p>
<p>It's basically the same concept as the BBC's design, rebuilt from scratch using a combination of PHP, RSS and Javascript (specifically, JQuery). The code pulls in the last 10 items from <a href="http://uk.youtube.com/downingst">Downing Street's YouTube account</a>, and puts them into a <a href="http://www.gmarwaha.com/jquery/jcarousellite/">JQuery-driven carousel</a>. When you click on a clip, a popup fades into view, and the embedded YouTube player autoplays. The big buttons left and right make the playlist scroll beautifully from side to side.</p>
<p><strong>I want to stress: I've done this completely off my own bat.</strong> Although we have a continuing working relationship, I wasn't asked to do this by <a href="http://www.number10.gov.uk">Number10</a>. It's purely a proof-of-concept, using publicly available (publicly funded) material. It's a bit rough round the edges: some of the link highlighting isn't too smooth on the Wii, the word wrapping isn't polished, and it doesn't seem to work properly on (desktop) Firefox for some reason - although curiously, all other browsers seem OK, even IE! But having proven the concept, to be honest, I may not bother going back to fix these issues. There's also a risk of YouTube changing their code, as has happened before: the Wii's Flash player is a bit behind the times, and YouTube's improvements have caused problems in the past.</p>
<p>But for now - it works, really quite nicely, and I'm dead pleased with it. You need never again say the words 'there's nothing on telly.' <img src='http://puffbox.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  And with more and more government content going on YouTube, if anybody thinks this might be useful in a proper business context, please get in touch.</p>
]]></content:encoded>
			<wfw:commentRss>http://puffbox.com/2008/10/28/downing-street-wii-youtube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
