AutoLinks 1.5
Warning! This community-contributed addon has not been tested or code-reviewed. Use at your own risk.
When you post an URL, AutoLinks automatically:
- Embeds images (PNGs, JPGs, GIFs, BMPs and some others)
- Embeds MP3s with a nice flash streamer/player
- Embeds videos (from several popular sites - see below)
- Turns other URLs (including mailto:, ftp://, etc) in to a clickable link
Video sites currently supported:
- Youtube
- Google video
- Vimeo
- metacafe
- LiveLeak.com
- Dailymotion
- myspace video
- Spike
- Redlasso
- onsmash.com
- tangle
You can also force an URL to become a clickable link (rather than becoming embedded) by putting a '!' at the beginning of the URL. For example,
!http://www.example.com/video/1 will be a clickable link and won't embed video in the page.
Development Information
Change log is available here.
I am happy to add support for other video sites to this plugin. If you want another site supported, just ask (or post a patch!).
This plugin will work for any formatters that properly call their child formatters. Currently, this includes the default text formatter and the
HTML formatter. The
Markdown formatter doesn't, but it can easily be modified to work (see comment
#3 below for instructions).
The code for this plugin was based on the
MakeItSimpleFormatter. I re-wrote it to play nicely with other formatters, display links differently and so that I could apply some of the changes requested.
Questions
No questions yet.
What is this stuff?
Addons are custom features that you can add to your Vanilla forum. Addons are created by our community of developers and people like you!
Will it work on my Vanilla Forum?
These addons are for people who downloaded and set up their own Vanilla forum. Compare your downloaded version with the version requirements on the right.
If your Vanilla forum is hosted at VanillaForums.com, this addon may already be installed there.
Vanilla Approved?
We review addons to make sure they are safe and don't cause bugs. An addon is considered to be "Vanilla Approved" once our review process is complete.