Forums / Cotonti / Extensions / Working on a plugin...

Mynt
#17255 2009-09-25 03:46
Your going to have to add a check/balancer.

First you will have to have a URL cleaner, that will basically detect where the source is. Main reason why is Youtube, Dailymotion/Cafe, Break.com and other websites use different Params passed.

Because your going to have to overwrite the old API of youtube and othersites, your going to need to incorperate: http://code.google.com/p/swfobject/ *SWFObject* which is a free javascript API library to allow you to pass commands freely from SWF objects embedded in the site to Javascript so it can communicate freely with PHP without reloads. Think of it kinda like jQuery for Flash Embeds.

You also would want to look here:
http://code.google.com/apis/youtube/getting_started.html#player_apis

Its alot of work.. but when you start getting everything together its easy to maintain. I will help out with debugging where I can if you need it.

-Mynt
"I only sleep when I know I won't miss a thing."