Script Summary: Adds a link to play videos from YouTube in XBMC
Adds a link to play videos from YouTube in XBMC.
Requires the YouTube plugin to do the actual playback, since the old video quality parameters were removed from YouTube in December 2010.
Remember that its possible to make the YouTube plugin to use the highest quality video as default.
When it asks for the address of the XBMC machine, its possible to just omit the username and password if none are defined in XBMC, and the default port is 8080.
This makes the default address something like xbmc:8080.
The JSON interface got fixed in GIT now, so everything should be fine again.
It seems like YouTube removed the video_id from a lot of videos. I don't know its a change that is coming to all the video pages, but I created a secondary method for getting the video id. It now tries to parse the parameters in the url if it fails to find the video_id tag.