Blinksale: Easy, painless, online invoicing for small businesses

Loading YouTube vids into Flash

OK Community. I'm stuck. I've been working on a project that requires me to load videos from YouTube into Flash without the default player they use. I've done extensive googling and found a few good leads, but nothing concrete.

Apparently you can't just arbitrarily load any video you want (and for good reason - security, etc) but I know its possible (see this proof of concept) I've contacted the developer of this project, but I did want to see if anyone else has tried something similar and had any success?

Thx in advance :)

Posted by kmfnj on May 01, 2007 in Blab | 2 comments

ChristopherRobinson on May 01, 2007

You could create a simple function to grab the true location of the .flv file (the source) of the video on YouTube then copy it as a temporary file onto your server, which you could then load into your own flash player or do whatever you want with the local (on your server) copy of the .flv file. Is that what you're trying to achieve, or am I on the wrong track completely?

kmfnj on May 01, 2007

Hi Christopher thanks for your response.

copy it as a temporary file onto your server ... Is that what you're trying to achieve

Well, not exactly - I want people to be able to enter a keyword and then -bam- the FLV loads into my custom SWF. Obviously there's an XML query/parse to YouTube somewhere in between the user search and the FLV loading.