Greasemonkey Script for BBC iPlayer plugin
#1
I thought I'd share a handy little Greasemonkey script I put together which adds an extra button to episode pages on the BBC iPlayer website. Basically it just calls the HTTP API to start the iPlayer plugin with the appropriate program ID. Works pretty well I think.

Previously posted on the XBMC4XBOX forum, but this is relevant to all platforms.

http://jamiethompson.co.uk/web/2010/09/0...-via-xbmc/

Let me know if you find it useful
Reply
#2
Link Can anyone get this working under chrome or know of an alternative?

Greig
September 11th, 2010 at 3:15 am
This script is excellent and works a treat in greasemonkey under firefox. Unfortunately I can’t get it working in Chrome, although the script will install and it will add the button to the relevant iplayer pages, I can find no way to edit a user script command under chrome. Also manually altering the script.js file has only led to me breaking it as I know no javascript. would you be able to provide some instruction?

Jamie Thompson
September 11th, 2010 at 3:14 pm
Yeah currently it’ll only work under Greasemonkey because of it’s Greasemonkey API dependence. I hadn’t even considered other browsers to be honest. I’m fairly sure that just removed all the GM specific stuff and hardcoding your xbmc host (on line 33) would make it work perfectly in Chrome though. I might spend some time implementing this in a more cross browser way.

Greig
September 12th, 2010 at 12:28 am
Just to be clear, Chrome supports Greasemonkey add-ons, http://blog.chromium.org/2010/02/40000-m...sions.html although apparently some things are not supported such as using user commands, to edit the script file. Unless I simply just can’t find how to do so.
Reply
#3
Looks great jamie.
Not able to try it at the moment but will give it a go sometime soon.

Could prove to be a nicer way of browsing iPlayer on a tablet or phone (assuming Firefox on Android / Meego will support greasemonkey scripts?!).
Reply
#4
This is awesome. Patch to use JSONRPC instead of deprecated HTTP API.

http://pastebin.com/hCrSNKLA
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Greasemonkey Script for BBC iPlayer plugin00