Programmes are usually available for 7 days after their original broadcast, and when downloaded can be played for the first time up to 30 days later. However, once you play something, it expires after another 7 days.
Seems a bit restrictive at first, but they repeat programmes on BBC3 and 4 weeks (months) after the first airing that it is not as restrictive as it first seems.
Cheers
David