Skip to content

Instantly share code, notes, and snippets.

@benaston
benaston / youtube
Created October 17, 2012 17:25 — forked from anonymous/youtube
Shivas Code
(function( $ ){
$.fn.youtubeGallery = function( options ) {
var html = '';
var playListBaseURL = 'http://gdata.youtube.com/feeds/api/playlists/';
var videoBaseURL = 'http://www.youtube.com/watch?v=';
var youtubeBaseURL = 'http://www.youtube.com/';
var that = this;
@benaston
benaston / gist:3196531
Created July 29, 2012 07:37 — forked from danparsons/gist:3195652
How to stream the London 2012 Olympics

How to stream the London 2012 Olympics

There have been several HOWTOs posted regarding streaming the 2012 Olympics using HTTP / SOCKS proxies via SSH and other similar methods. None of these actually work using the latest Flash on Mountain Lion (with Firefox, Chrome or Safari). Additionally, the third-party streaming sites don't provide BBC's amazing interface, which lets you quickly skip to individual competitors and events. However, setting up an OpenVPN server does work, with some tweaks. You'll get the exact same UX that people in England receive.