Firmware 2.2 on iPod touch stops BBC iPlayer – Update

Well a couple of interesting bits of information have come my way since I posted yesterday about how firmware 2.2 on the iPod touch stops the BBC iPlayer from working.

Though Apple updated the firmware, and the BBC did not change anything, it is looking like the BBC’s platform/connection detection code is coming to the wrong conclusion.

That code according to FrustratedByiPlayer on the BBC Message Boards, looks like this.


// hack for demi – in case demi variables mysteriously disappear as they are prone to do.
if(data.response.DEMI_ERROR_FAILOVER === ‘true’ && _failOverCount < 3) {
return device.connectionType();
else if(data.response.DEMI_ERROR_FAILOVER === ‘true’) {

if(data.response.ALLOWED_NETWORK === ‘true’ && data.response.IP_IS_UK_COMBINED === ‘yes’) {
_mediaAssetProfile = data.response[_serviceType.toUpperCase() + ‘_MEDIA_ASSET_PROFILE’];
return mediaSelector.mtis(_versionPid, _mediaAssetProfile);
else if(data.response.ALLOWED_NETWORK === ‘true’) {
_state = ‘STATE_OUTSIDE_UK’;
else {
_state = ‘STATE_NON_WIFI’;

It is the _state = ‘STATE_NON_WIFI’; which is the result of the detection code failing to correctly recognise the iPod touch as a wireless device and thinking it is a 3G iPhone.

Note that the 3G iPhone on wifi works fine!

By adding the correct device to the detection code by the BBC web development team this should solve the issue.

Lakeuk on the BBC boards has been able to recreate the error on Firefox.

User Agent for FW 2.1.1 works:-

Mozilla/5.0 (iPod; U; CPU iPhone OS 2_1_1 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5F138 Safari/525.20

User Agent for FW 2.2 gives the error everyone is getting:-

Mozilla/5.0 (iPod; U; CPU iPhone OS 2_2 like Mac OS X; en) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77a Safari/525.20

According to the BBC Message boards this message has been passed onto the BBC team.

2 Replies to “Firmware 2.2 on iPod touch stops BBC iPlayer – Update”

  1. Luckily I read about this issue on AD before I got the offer of teh update in iTunes so I am still working on 2.1. Given that’s it’s an apparently minor change (and the volume of feedback the BBC and Apple must be getting) I’m sure it’ll be resolved soon.

Leave a Reply