this is a … hrmm … not very legal thing to do. However I need this for a personal proof of concept so I thought I would make it available to the public. Basically I am using KeepVid‘s website to grab a URL to the FLV’s from Vimeo and YouTube. This means you can stream those FLVs directly into your own player, no need to show the UI from Vimeo & YouTube. This client gathers both the low-def & high-def (when available) urls.
Here is the sample usage code:
As you can see, it is trivially simple. The KeepVidClient is a Singleton, it fires a KeepVidEvent once the information has been received. This event has two properties hdUrl and ldUrl for the HighDef & LowDef urls.
Due to the fact that KeepVid.com doesn’t have a proper crossdomain.xml file, it is not possible to access data from that website in Flash when hosted on another site. Meaning I can’t do the RegExp magic to find out links to the FLV’s after simulating the request on their site. I am using RESTProxy to avoid this problem. Source code has been updated accordingly.
I’m going to combine this with the FLVPlayer tutorial tomorrow to finally show a complete sample code using the FLVPlayer’s code.
Stay tuned! I’m back!
You totaly forgot the main one here:
It knows all native YouTube video formats: HD, MP4, FLV, 3GP videos, multiple simultaneous downloads, preview video, auto start download, skip already downloaded files, clipboard monitoring, drag & drop from IE / Firefox, proxy support, etc. Program size only 39Kb!!
I use it a lot!