BBC iplayer
#16
Re: BBC iplayer
Here is a link to a video I made showing that it does work. http://www.youtube.com/watch?v=NIyiOB64fc8
#17
Joined: Mar 2007
Posts: 10,551
Re: BBC iplayer
Here is a link to a video I made showing that it does work. http://www.youtube.com/watch?v=NIyiOB64fc8
#19
Just Joined
Joined: May 2008
Posts: 5
Re: BBC iplayer
All this very complicated, retirement is not for complications; We have 3 HDTVs in the house all fitted with sat receivers with freeview. Things have move on since,BBC & ITV have introduced the Freesat HD; cute little receivers are sold in the UK for a £100 or so. All you have to do is to plug it to a Sat dish facing Astra2D & to your tv. You will receive 100s of channels in HD (Mpeg4) I shall have to get 3 of them & give away the sky ones with freeview crds. Move on mate.pier
#20
Joined: Mar 2007
Posts: 10,551
Re: BBC iplayer
All this very complicated, retirement is not for complications; We have 3 HDTVs in the house all fitted with sat receivers with freeview. Things have move on since,BBC & ITV have introduced the Freesat HD; cute little receivers are sold in the UK for a £100 or so. All you have to do is to plug it to a Sat dish facing Astra2D & to your tv. You will receive 100s of channels in HD (Mpeg4) I shall have to get 3 of them & give away the sky ones with freeview crds. Move on mate.pier
#21
Re: BBC iplayer
That could of been done anywhere, and you still haven't said what your big secret is it makes no odds to me as i have Sky HD. I know the proxy method works and i posted a fast working UK proxy in the Lab not so long ago, and the VPN method works very well but costs. Post a video but not telling people how you went about it suggests its a wind up.
Indeed you are correct to not to believe me, as there is nothing to prove where that video came from, but unlike those lamers with the PS3 I am going to document what I did. Well not 100% as you will have to find your own UK host to hold some files, and that version will be release later on once I have finished documenting it.
Here is another way that does not involve hosted files, and uses GreaseMonkey and FoxyProxy to emulate what I did to make it all work.
- Download the addons for for FoxyProxy and GreaseMonkey.
https://addons.mozilla.org/en-US/firefox/addon/2464
https://addons.mozilla.org/en-US/firefox/addon/748 - Next we need to configure FoxyProxy to be used in Patterns mode so that when the request to get a particular URL from the BBC is made it is made via the UK Proxy. This URL contains the token to view the video.
- From within FireFox select the Tools Menu then FoxProxy menu and then the Options Menu.
- Click the Add New Proxy button
- In the Proxy Name Field enter BBC iPlayer Proxy
- Select the Proxy Details Tab
- Select the Manual Proxy Configuration Radio Button
- In Hostname and Port enter the Hostname and Port (and select if it is a SOCKS Proxy and version if using SOCKS)
- Select the Patterns tab
- Click the Add New Pattern button
- In the Pattern Name field enter "BBC iPlayer Media Selector Pattern"
- In the URL Pattern enter http://www.bbc.co.uk/mediaselector/*
- Leave the WhiteList and WildCards radio buttons selected
- Click the Ok Button
- Click the OK Button
- Go to http://www.darkedges.com/bbc/iPlayer.user.js
- When prompted click the Install button to add the GreaseMonkey Script
- Go to http://www.bbc.co.uk/iplayer/ and select a video to stream
- A preview image will show and and a white "Click to play" button should appear and now your should be able to view the video. First the ident appears and then the video, which is not streamed via the proxy.
What my GreaseMonkey script does it to replace the "Sorry" information with an embded iplayer (Found out how to do that here http://jonathan.tweed.name/2007/12/h...yer-embedded-m) and examines the URL to find the PID of the programme to be viewed and replaces it. The FoxyProxy addon enables all requests to http://www.bbc.co.uk/mediaselector/* to go via the UK proxy, which returns the correct token etc and the video plays.
My original version replaces all links to http://www.bbc.co.uk/mediaselector/* with a PHP script located on a UK based server, and so you do not need to have a UK proxy configured within your browser. The request is proxied via the UK Web server and all the user needs is GreaseMonkey. I have tried to write a bookmarklet so that GreaseMonkey is not required, but could not get it to work properly, but will continue to make this as easy as possible so that a wider audience can use it.
For those who want to know how to change the location of where the mediaselector is called from take a look @ the following code.
Code:
<embed type="application/x-shockwave-flash" src="http://www.bbc.co.uk/iplayer/emp/flash/iplayer-external.swf" style="" id="emp" name="emp" bgcolor="#000000" quality="high" allowfullscreen="true" wmode="transparent" flashvars="config=http://www.bbc.co.uk/iplayer/emp/xml/config.xml&metafile=http://www.bbc.co.uk/iplayer/metafiles/episode/'+check[1]+'.xml" width="512" height="323">
Code:
<mediaSelectorUrl> http://www.bbc.co.uk/mediaselector/3/stream/check/iplayer </mediaSelectorUrl>
Code:
<mediaSelectorUrl> http://www.darkedges.com/bbc/proxy.php?url=http://www.bbc.co.uk/mediaselector/3/stream/check/iplayer </mediaSelectorUrl>
That is all you need to do to get this to work.
Too technical? I guess so, but it works
#22
Joined: Mar 2007
Posts: 10,551
Re: BBC iplayer
Hosted at http://www.darkedges.com/bbc/
Indeed you are correct to not to believe me, as there is nothing to prove where that video came from, but unlike those lamers with the PS3 I am going to document what I did. Well not 100% as you will have to find your own UK host to hold some files, and that version will be release later on once I have finished documenting it.
Here is another way that does not involve hosted files, and uses GreaseMonkey and FoxyProxy to emulate what I did to make it all work.
My original version replaces all links to http://www.bbc.co.uk/mediaselector/* with a PHP script located on a UK based server, and so you do not need to have a UK proxy configured within your browser. The request is proxied via the UK Web server and all the user needs is GreaseMonkey. I have tried to write a bookmarklet so that GreaseMonkey is not required, but could not get it to work properly, but will continue to make this as easy as possible so that a wider audience can use it.
For those who want to know how to change the location of where the mediaselector is called from take a look @ the following code.
http://www.bbc.co.uk/iplayer/emp/xml/config.xml contains the configuration of the iPlayer and also where to check that the user is in the UK. Looking at that file we see it contains the following
So if we replace it with say
and add a crossdomain.xml file to the root of your webserver, you will find that if you write a script to proxy the request via a UK proxy, or host in the UK it will return the correct token for you.
That is all you need to do to get this to work.
Too technical? I guess so, but it works
Indeed you are correct to not to believe me, as there is nothing to prove where that video came from, but unlike those lamers with the PS3 I am going to document what I did. Well not 100% as you will have to find your own UK host to hold some files, and that version will be release later on once I have finished documenting it.
Here is another way that does not involve hosted files, and uses GreaseMonkey and FoxyProxy to emulate what I did to make it all work.
- Download the addons for for FoxyProxy and GreaseMonkey.
https://addons.mozilla.org/en-US/firefox/addon/2464
https://addons.mozilla.org/en-US/firefox/addon/748 - Next we need to configure FoxyProxy to be used in Patterns mode so that when the request to get a particular URL from the BBC is made it is made via the UK Proxy. This URL contains the token to view the video.
- From within FireFox select the Tools Menu then FoxProxy menu and then the Options Menu.
- Click the Add New Proxy button
- In the Proxy Name Field enter BBC iPlayer Proxy
- Select the Proxy Details Tab
- Select the Manual Proxy Configuration Radio Button
- In Hostname and Port enter the Hostname and Port (and select if it is a SOCKS Proxy and version if using SOCKS)
- Select the Patterns tab
- Click the Add New Pattern button
- In the Pattern Name field enter "BBC iPlayer Media Selector Pattern"
- In the URL Pattern enter http://www.bbc.co.uk/mediaselector/*
- Leave the WhiteList and WildCards radio buttons selected
- Click the Ok Button
- Click the OK Button
- Go to http://www.darkedges.com/bbc/iPlayer.user.js
- When prompted click the Install button to add the GreaseMonkey Script
- Go to http://www.bbc.co.uk/iplayer/ and select a video to stream
- A preview image will show and and a white "Click to play" button should appear and now your should be able to view the video. First the ident appears and then the video, which is not streamed via the proxy.
My original version replaces all links to http://www.bbc.co.uk/mediaselector/* with a PHP script located on a UK based server, and so you do not need to have a UK proxy configured within your browser. The request is proxied via the UK Web server and all the user needs is GreaseMonkey. I have tried to write a bookmarklet so that GreaseMonkey is not required, but could not get it to work properly, but will continue to make this as easy as possible so that a wider audience can use it.
For those who want to know how to change the location of where the mediaselector is called from take a look @ the following code.
Code:
<embed type="application/x-shockwave-flash" src="http://www.bbc.co.uk/iplayer/emp/flash/iplayer-external.swf" style="" id="emp" name="emp" bgcolor="#000000" quality="high" allowfullscreen="true" wmode="transparent" flashvars="config=http://www.bbc.co.uk/iplayer/emp/xml/config.xml&metafile=http://www.bbc.co.uk/iplayer/metafiles/episode/'+check[1]+'.xml" width="512" height="323">
Code:
<mediaSelectorUrl> http://www.bbc.co.uk/mediaselector/3/stream/check/iplayer </mediaSelectorUrl>
Code:
<mediaSelectorUrl> http://www.darkedges.com/bbc/proxy.php?url=http://www.bbc.co.uk/mediaselector/3/stream/check/iplayer </mediaSelectorUrl>
That is all you need to do to get this to work.
Too technical? I guess so, but it works
#24
Re: BBC iplayer
Never said it was going to be a piece of cake, hacking the iPlayer requires some back door tricks, as you need a physical presence in the UK to get the authorisation token for the video to play. If you look at some of the scripts out in the public space, they require you to be technically minded.
#26
Joined: Mar 2007
Posts: 10,551
Re: BBC iplayer
That depends on what side of the line you stand. Its not hacking anyway i would class it as reverse engineering with an intent to identify design flaws and improve the quality of service to a broader audience.
Its at a technical level that i understand i did not mean it was easy for the average Joe.
Its at a technical level that i understand i did not mean it was easy for the average Joe.
Yes it is a technical thing that you need to do to get this to work, and I have yet to figure out a way to make it easier to do. Another way would be to use Tor with a UK endpoint, which a couple of Americans have got working after I documented the instructions.
Never said it was going to be a piece of cake, hacking the iPlayer requires some back door tricks, as you need a physical presence in the UK to get the authorisation token for the video to play. If you look at some of the scripts out in the public space, they require you to be technically minded.
Never said it was going to be a piece of cake, hacking the iPlayer requires some back door tricks, as you need a physical presence in the UK to get the authorisation token for the video to play. If you look at some of the scripts out in the public space, they require you to be technically minded.
Last edited by Ka Ora!; May 12th 2008 at 12:20 pm.
#27
Joined: Mar 2007
Posts: 10,551
Re: BBC iplayer
Yes it is a technical thing that you need to do to get this to work, and I have yet to figure out a way to make it easier to do. Another way would be to use Tor with a UK endpoint, which a couple of Americans have got working after I documented the instructions.
Never said it was going to be a piece of cake, hacking the iPlayer requires some back door tricks, as you need a physical presence in the UK to get the authorisation token for the video to play. If you look at some of the scripts out in the public space, they require you to be technically minded.
Never said it was going to be a piece of cake, hacking the iPlayer requires some back door tricks, as you need a physical presence in the UK to get the authorisation token for the video to play. If you look at some of the scripts out in the public space, they require you to be technically minded.
#28
Re: BBC iplayer
Never said it was going to be a piece of cake, hacking the iPlayer requires some back door tricks, as you need a physical presence in the UK to get the authorisation token for the video to play. If you look at some of the scripts out in the public space, they require you to be technically minded.
Cheers mate
#29
Re: BBC iplayer
Okay perhaps hacking is the wrong word to use here. I found a flaw that allows me to gain access to content that I should not have, and it is simply a flaw. The BBC will discover this hole soon enough and close it, but I am not sure how exactly they will achieve this, as with using a programmable Web Proxy such as WebScarab it would be possible to rewrite the content back to what I need it to do. This is exactly what I do when I want to watch videos on www.hulu.com.
For those who don;t know hulu.com has a lot of content for the US only, but they do a geo check to confirm that you are in the US, so all you need to do is either use FoxyProxy to direct requests to http://releasegeo.hulu.com/geoCheck to use a US Proxy, or use WebScarab to programmatically change the response from not-valid to valid and use FoxyProxy to use WebScarab for that URL. I have written a FireFox plugin to rewrite the content, but it does not work with Flash players, but I am working on that.
For those who don;t know hulu.com has a lot of content for the US only, but they do a geo check to confirm that you are in the US, so all you need to do is either use FoxyProxy to direct requests to http://releasegeo.hulu.com/geoCheck to use a US Proxy, or use WebScarab to programmatically change the response from not-valid to valid and use FoxyProxy to use WebScarab for that URL. I have written a FireFox plugin to rewrite the content, but it does not work with Flash players, but I am working on that.
#30
Re: BBC iplayer
Keep up the good work.