blip.tv Plugin for Mango Blog
I created a new Mango plugin, now you can add blip.tv videos easily using the Mango Post tool in the admin by adding a simple tag [bliptv:postId]. All you need to do is pass in the post ID when creating a new post in Mango and the video will display in the position of your posting.
It is pretty basic right now. I ping blip.tv''s API, pass them the post_ID and do some xmlParse/xmlSearch stuff and it returns the embed code. The plugin just outputs that and displays it in your blog. Like I said very simple and basic, I haven't figured out how to modify how the player gets displayed, such as height, width, options the player has on it, etc.... feel free to improve upon it :) You can thank my dog for waking me up at 6am on a Saturday morning for getting this done.
You can download the source here.
Just drop the bliptv folder in your "components/plugins/user" directory and it will display in your Mango Admin under Add-ons than all you need to do is activate it.
I got the idea after seeing a Thermo Video on Ryan Stewarts blog and figured what the heck, if WordPress can do it Mango can!!
1 Comment »