Skip to content

Instantly share code, notes, and snippets.

@nevali
Created January 23, 2010 12:39
Show Gist options
  • Save nevali/284592 to your computer and use it in GitHub Desktop.
Save nevali/284592 to your computer and use it in GitHub Desktop.
Embedding iPlayer
<!--
Every iPlayer programme has a "PID", which is in the URL for each iPlayer programme page. For example, "b00pwv65". iPlayer URLs take the form: http://www.bbc.co.uk/iplayer/episode/PID/other-stuff-which-doesn't-matter
Replace "**** PID GOES HERE ****" in the code below with the PID of the programme you want to embed, and you’re set.
For example:
http://www.bbc.co.uk/iplayer/episode/b0074fll/Doctor_Who_Series_2_New_Earth/
You would replace "**** PID GOES HERE ****" with b0074fll.
Some programmes have two PIDs in the URL, one straight after another. You can ignore the second one.
-->
<object width="512" height="400"><param name="movie" value="http://news.bbc.co.uk/player/emp/external/player.swf">
<param name="allowFullScreen" value="true">
<param name="allowScriptAccess" value="always">
<param name="FlashVars" value="config_settings_showUpdatedInFooter=true&amp;config_settings_showPopoutButton=false&amp;playlist=http%3A%2F%2Fwww.bbc.co.uk%2Fiplayer%2Fplaylist%2F**** PID GOES HERE ****&amp;config=http%3A%2F%2Fwww.bbc.co.uk%2Femp%2Fiplayer%2Fconfig.xml%3F1%2E3%2E114%5F2%2E14%2E10344%5F10753%5F20090720174228&amp;config_settings_language=default&amp;config_settings_showFooter=true&amp;config_plugin_fmtjLiveStats_pageType=eav6&amp;config_settings_showPopoutButton=false&amp;config_settings_showPopoutCta=false">
<embed src="http://news.bbc.co.uk/player/emp/external/player.swf" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="512" height="400" flashvars="config_settings_showUpdatedInFooter=true&amp;config_settings_showPopoutButton=false&amp;playlist=http%3A%2F%2Fwww.bbc.co.uk%2Fiplayer%2Fplaylist%2F**** PID GOES HERE ****&amp;config=http%3A%2F%2Fwww.bbc.co.uk%2Femp%2Fiplayer%2Fconfig.xml%3F1%2E3%2E114%5F2%2E14%2E10344%5F10753%5F20090720174228&amp;config_settings_language=default&amp;config_settings_showFooter=true&amp;config_plugin_fmtjLiveStats_pageType=eav6&amp;config_settings_showPopoutButton=false&amp;config_settings_showPopoutCta=false"></embed></object>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment