The difficulties of making a plugin for

I am thinking of making a plugin, apparently, it is not as easy as the plugin for youtube or google video, because the embed scripts of is not so regular. but I do notice that is supported on, do you have any idea about this? I would like to know, thanks a lot!