%expand% Gideon Goldberg - .SBV file format documentation and SRT converter %include(%fqppath(nav.ssi))

iPlayer 'switch to Audio Described' bookmarklet

About

This boomarklet redirects you to the Audio Described version of an episode on iPlayer, if it is available. This means you can use the regular iPlayer search function and access an Audio Described version of your episode in one click. It will check and display a message if no audio described version is available.

Install

Internet Explorer users, right click on the following link and select 'Add to Favourites'.From the folder dropdown select Favorites Bar. Firefox users: Drag the following link to your bookmarks toolbar to install, or right click and select 'Add to Bookmarks'. :
Switch to AD

How to use

Source Code

/* get URL as String object */
var url = new String(window.location);

/* start after 'http://www.bbc.co.uk/iplayer/episode/', split at occurences of '/' */
var parts = url.substr(37).split('/', 2);

/* Get document source code */
var source = document.body.innerHTML;

/* Set search term  */
var searchterm = /audiodescribed/;

if (source.search(searchterm) != -1)
/* Yay, we've found an audio described label so re-write URL and set window.location */
  {
  window.location = 'http://www.bbc.co.uk/iplayer/episode/' + parts[0] +  '/ad/' + parts[1]; 
  }

else
  {
  window.alert("Sorry no Audio Described version available");
  }

Disclaimer

This bookmarklet was created in my own time and is in no way endorsed by or affiliated with the BBC.