YouTube plugin for Mango Blog

ColdFusion , Mango Blog Add comments

As mentioned earlier, this site is powered by Mango Blog. Having played with it a little to get it installed, I thought I'd look at its extensibility...

The plugin framework seems quite simple once the basic concepts have been understood; so I started to write my first plugin.

The documentation mentions a YouTube plugin but as far as I could see it doesn't actually exist, so this seemed an ideal place to start! Simply download the files and unzip them into /components/plugins/user/ - and then activate the plugin from the Add-ons page in the blog admin.

All you need to do to include a video is find out what the video's ID is (it's the string of characters after v= in the YouTube URL), and write the following into your post or page:

[youtube:videoid]

And your video should be included like so:

I may develop this further - maybe add options to specify the global video size for your blog. If you have anything you'd like to see, please let me know! 

3 responses to “YouTube plugin for Mango Blog”

  1. Josh Says:
    Very cool :) I am working on two other plugins as well -- this will help me understand the plugin framework.
  2. Mark Warrick Says:
    Awesome plugin! It worked flawlessly on my site: http://www.economycorps.com
  3. brice Says:
    Thanks! I just discovered mango, and I am quickly falling in love. Other than the slowness, its awesome. But there may be a setting that I need to discover. This plugin is perfect. Thanks for taking the time and sharing.

Leave a Reply



Powered by Mango Blog. Design and Icons by N.Design Studio