Back to vBulletin 3.6 Add-ons

AME - Auto Media Embedding (youtube, Amazon, google, myspace, etc...)
Mod Version: 1.2.0, by The Geek

This modification is in the archives.
vB Version: 3.6.7 Rating: (138 votes - 4.86 average) Installs: 1245
Released: 28 Jun 2007 Last Update: 13 Jul 2007 Downloads: 12616
Not Supported DB Changes Uses Plugins Additional Files  

From the inventors of Swiss Cheese and the Egg comes AME - The Automatic Media Embedding System.

Note that Version 2.0.0 can be found here

AME is derived from GAL 6 base code but instead of linking keywords, it converts URLs that users paste or enter in their posts into inline embedded video streams.

Big credit goes out to mfyvie for the original concept that jazzed me up enough to lift code that I have been working on to radically improve his fresh idea. Though the same goal, I have taken a totally different approach to his initial release. This mod is 100% steaming fresh code straight from the Geeks oven of love.

First... the overview

AME scans new and edited posts for pre-defined patterns of URLs (i.e. youtube's). If it finds a match, it swaps the url tag for an ame tag.
When a post get parsed for bbcode and an ame tag is found, instead of hammering away at the post with umpteen bbcodes, AME quietly figures out which pre-defined embedding should be placed there and... viola', you have a pretty little embedded video like this:

This is significantly faster, has much lower overhead and is much easier to manage than loads of bbcodes or a than scanning every single post as the user views it to see if there are any conversions that need to be made.

Now for the bells and whistles

AME:
  • is lightweight as it does all of her chores without the overhead of having 1 bbcode per pattern or trying to parse a post every single time it gets displayed with a bunch of patterns. This radically reduces overhead and speeds up the processing. The only time ame will kick in is after creating a new post or after editing an existing one (or if an ame tag is found in a post)
  • is extensible. She allows you to add, edit, delete, import and export patterns. That way you can decide which services to support, how they should look and then share them with others!
  • can extract the title (requires your server to allow url wrappers with fetch_contents)
  • can extract embed code from sites whose URLs do not contain sufficient information to embed the video
  • can rebuild your old posts to convert your 'other' mediaish tags into URL tags.
  • can rebuild your old posts to convert URL tags into ame tags where needed
  • can convert her codes BACK to url codes so you're not stuffed with a bunch of dead tags if you uninstall!
  • won't uglify your site by having videos appear in quotes, php, code or html blocks (blech!)
  • can be globally disabled
  • can be excluded from forums
  • can exclude usergroups
  • can be toggled on/off per post
  • would cook dinner for you if she had arms
  • can wrap the output in a 'container' with original URL
  • has a super comprehensive admincp help system. Yes, I actually took the time to add all the info you need into vB's admincp help system. If you ask a silly question in this thread that is addressed in the help system, you will be taunted.
  • is fully phrased
  • has hooks around integral operations so you can extend it

Add ons

AME comes configured with YouTube, Myspacetv, Google Video, Bolt, iFilm, Yahoo, Dailymotion, Amazon and MetaCafe Support built in. Since the amount of providers are always changing and most sites will only need a particular amount, AME has been designed with an import and export system to allow members to easily share formats with one another. In fact, the second post of this thread is updated periodically to relflect those add ons. Currently there are over 12 more additional formats contributed by AME users. Click here

Spoiler (click to open)


Reserved for user contributed definitions to import into AME.

User contributed:

Videotube And Liveleak -VideoTube contributed by René Kunze and the LiveLeak contributed by DaNIEL MeNTED. I contributed a couple of very minor tweaks to some of the regexps.

Other:
  • http://www.vbulletin.org/forum/showpost.php?p=1279273&postcount=73 contributed by René Kunze
  • http://www.vbulletin.org/forum/showpost.php?p=1279346&postcount=86 contributed by René Kunze
  • http://www.vbulletin.org/forum/showpost.php?p=1279273&postcount=90 contributed by René Kunze
  • http://www.vbulletin.org/forum/showpost.php?p=1281980&postcount=179 contributed by The Geek
  • http://www.vbulletin.org/forum/showpost.php?p=1281295&postcount=168 contributed by Tungsten
  • http://www.vbulletin.org/forum/showpost.php?p=1286408&postcount=294 contributed by Dannyloski
  • http://www.vbulletin.org/forum/showpost.php?p=1286378&postcount=293 contributed by Dannyloski
  • http://www.vbulletin.org/forum/showpost.php?p=1285318&postcount=254 contributed by Dannyloski
  • http://www.vbulletin.org/forum/showpost.php?p=1283997&postcount=240 contributed by 4x4 Mecca
  • http://www.vbulletin.org/forum/showpost.php?p=1285318&postcount=254 contributed by Dannyloski
  • http://www.vbulletin.org/forum/showpost.php?p=1287091&postcount=302 contributed by Dannyloski
  • http://www.vbulletin.org/forum/showpost.php?p=1287569&postcount=303 contributed by Tungsten
  • http://www.vbulletin.org/forum/showpost.php?p=1286900&postcount=298 contributed by Dannyloski
Attached Files
File Type: xml VideoTube.xml (1.7 KB, 523 views)
File Type: xml liveleak.xml (703 Bytes, 418 views)

Close
to see them.

Installation
  • Upload the contents of the forums folder into your forums directory and import the product.xml file into your product manager.
  • After installation, make sure that the system is on (admincp->AME CP->Settings)
  • Then you may want to try to rebuild old URLs via the tools option.

Troubleshooting

See this post on troubleshooting

Spoiler (click to open)


How to troubleshoot.

1. Make sure that the disable setting is set to no (admincp->AME CP->settings)
2. Disable 'Resolve URL titles' (admincp->AME CP->Settings).
3. Here are some random links to put into a post. See if all/some/none work (if you have not disabled the Resolve URL titles setting, this could take awhile to post!

http://www.metacafe.com/watch/693063/lion_attack

You tube
http://www.youtube.com/watch?v=xnujO3SCGBE

my space
http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=878167267

google
http://video.google.co.uk/videoplay?docid=4776181634656145640

ifilm
http://www.ifilm.com/video/2846503

metacafe
http://www.metacafe.com/watch/692030/tiger_woods_make_a_sensational_shot

bolt
http://www.bolt.com/nakhon/video/WhaleShark_at_Andaman_Sea/2201227
Disable all other modifications except this one and repeat the process.

If none of these work, post:
1. Check your apache error log for any info you could post to help us find the problem
2. Make sure you post your version# of PHP

Close


A note about support and such

I have my plate pretty full with taking care of my commercial mods and the support that comes with them. Saying that, I will help when I can - but to be honest, I have ensured that there should be little to no support needed on this mod as it is very much self contained.
Please do not PM or post asking me to give you regexp's to support additional media streams. I built the system so that you can add your own providers as well as the ability to import and export them. If you still need a pattern but are not great with regular expressions (who is?) then I suggest getting http://www.regexbuddy.com/. Although I am not expert at regular expressions, I did a quick start tutorial on AME regexps here if you want to check it out

Spoiler (click to open)


How to troubleshoot.

1. Make sure that the disable setting is set to no (admincp->AME CP->settings)
2. Disable 'Resolve URL titles' (admincp->AME CP->Settings).
3. Here are some random links to put into a post. See if all/some/none work (if you have not disabled the Resolve URL titles setting, this could take awhile to post!

http://www.metacafe.com/watch/693063/lion_attack

You tube
http://www.youtube.com/watch?v=xnujO3SCGBE

my space
http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=878167267

google
http://video.google.co.uk/videoplay?docid=4776181634656145640

ifilm
http://www.ifilm.com/video/2846503

metacafe
http://www.metacafe.com/watch/692030/tiger_woods_make_a_sensational_shot

bolt
http://www.bolt.com/nakhon/video/WhaleShark_at_Andaman_Sea/2201227
Disable all other modifications except this one and repeat the process.

If none of these work, post:
1. Check your apache error log for any info you could post to help us find the problem
2. Make sure you post your version# of PHP

Close
. I don't mind you guys asking amongst each other for these things, but just note that I will most likely not respond to the requests.

I will reserve the first couple of posts in this thread to periodically add user contributed patterns to import and for additional information (I hate mega long first post's in the release section). So check there for up to date information.

nJoy

Download

This modification is archived, downloads are still allowed.

File Type: %1$s AME1.2.0.zip (25.1 KB, 7222 downloads)

Screenshots

Click image for larger version
Name:	editor.jpg
Views:	275713
Size:	158.9 KB
ID:	66925   Click image for larger version
Name:	post.jpg
Views:	261219
Size:	111.0 KB
ID:	66927  

Similar Mods

Add-On Releases DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest... vBulletin 3.8 Add-ons
Add-On Releases Digital Sith's AMEs - ADULT Media Definitions vBulletin 3.6 Add-ons
Add-On Releases DJ's AME (Auto Media Embedding) XML Media Definitions (Third Time's the Charm) Modification Graveyard
Add-On Releases AME (Auto Media Embedding) XML Releases Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024