<?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>crazed &#187; greasemonkey</title>
	<atom:link href="http://www.crazed.org.uk/tag/greasemonkey/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crazed.org.uk</link>
	<description>Musings of a web developer</description>
	<lastBuildDate>Wed, 23 Jun 2010 19:21:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>BBC iPlayer greasemonkey script</title>
		<link>http://www.crazed.org.uk/2008/09/bbc-iplayer-greasemonkey-script/</link>
		<comments>http://www.crazed.org.uk/2008/09/bbc-iplayer-greasemonkey-script/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 04:22:44 +0000</pubDate>
		<dc:creator>Fai</dc:creator>
				<category><![CDATA[Net]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[iplayer]]></category>

		<guid isPermaLink="false">http://www.crazed.org.uk/?p=88</guid>
		<description><![CDATA[I use the BBC iPlayer. Every so often. It&#8217;s pretty good. Only problem on my system is that the iPlayer does not like staying fullscreened on one monitor if I need to use the other screen (same issue with all other flash viewers it seems). Next best alternative is to view the video in the [...]]]></description>
			<content:encoded><![CDATA[<p>I use the BBC iPlayer. Every so often. It&#8217;s pretty good.</p>
<p>Only problem on my system is that the iPlayer does not like staying fullscreened on one monitor if I need to use the other screen (same issue with all other flash viewers it seems). Next best alternative is to view the video in the pop-out window; unfortunately, the window is rather small. Rather than try to fix the fullscreen issue, I found that adjusting the flash object dimensions manually did the trick. This does get rather tedious, but luckily, I have <a href="http://www.greasespot.net/" target="_blank">Greasemonkey</a> installed.</p>
<p>Writing this was quite straightforward: this is a simple script which resizes the pop-out window to a nice size (HD-ready view of 1280&#215;720), and allows you to resize the player by resizing the window (big criticism of the default behaviour).The bulk of the code is along these lines:</p>
<p><code><br />
player.width = 1280;<br />
player.height = 834;    // 720 + 114px of iPlayer chrome<br />
resizeToPlayer(player);    //window.resizeTo(1286,916)<br />
window.addEventListener('resize', function() { resizeToWindow(player); }, true);<br />
</code></p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/748" target="_blank">Install</a> Greasemonkey if not already (Firefox only), and install this script from the <a href="http://userscripts.org/scripts/show/34039" target="_blank">userscripts.org</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazed.org.uk/2008/09/bbc-iplayer-greasemonkey-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
