Created
January 23, 2010 12:39
-
-
Save nevali/284592 to your computer and use it in GitHub Desktop.
Embedding iPlayer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
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&config_settings_showPopoutButton=false&playlist=http%3A%2F%2Fwww.bbc.co.uk%2Fiplayer%2Fplaylist%2F**** PID GOES HERE ****&config=http%3A%2F%2Fwww.bbc.co.uk%2Femp%2Fiplayer%2Fconfig.xml%3F1%2E3%2E114%5F2%2E14%2E10344%5F10753%5F20090720174228&config_settings_language=default&config_settings_showFooter=true&config_plugin_fmtjLiveStats_pageType=eav6&config_settings_showPopoutButton=false&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&config_settings_showPopoutButton=false&playlist=http%3A%2F%2Fwww.bbc.co.uk%2Fiplayer%2Fplaylist%2F**** PID GOES HERE ****&config=http%3A%2F%2Fwww.bbc.co.uk%2Femp%2Fiplayer%2Fconfig.xml%3F1%2E3%2E114%5F2%2E14%2E10344%5F10753%5F20090720174228&config_settings_language=default&config_settings_showFooter=true&config_plugin_fmtjLiveStats_pageType=eav6&config_settings_showPopoutButton=false&config_settings_showPopoutCta=false"></embed></object> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment