Not for Public Consumption
So, YouTube is completely blocked in Turkey.
I just had an idea, partly stemming from my early work on the libre.fm project (none of which has survived the last hundred or so commits, unfortunately):
Hard-code a hosts file entry mapping the youtube.com domain to my new server’s IP address.
Upon receiving a request to a YouTube URL, my server dispatches an HTTP request to one of those “download YouTube videos” websites that provides a link to download the underlying FLV, using the proper video ID.
Since the server is in Dallas, a screen-scrape of the response to that request would yield a youtube.com URL that would be downloadable by the server.
The VPS caches this downloaded FLV to disk. It then, with some AJAX progress bar or automatic refreshes or whatever, figures out the download is complete and serves up a page with an embedded FLV player (there are some GPL options). The FLV player is pointed to yet another URL on my server, which just parrots back the FLV under the correct content-type. Or, the FLV could be downloaded directly.
All over HTTPS, of course.
The video streams from the VPS to Turkey!