Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
AME - Auto Media Embedding (youtube, Amazon, google, myspace, etc...) Details »»
AME - Auto Media Embedding (youtube, Amazon, google, myspace, etc...)
Mod Version: 1.2.0, by The Geek (Coder) The Geek is offline
Developer Last Online: Nov 2012 I like it Show Printable Version Email this Page

vB Version: 3.6.7 Rating: (243 votes - 4.78 average) Installs: 1251
Released: 28 Jun 2007 Last Update: 13 Jul 2007 Downloads: 12474
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:

Attachment 66927

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 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

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 RegExpBuddy. 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. 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 Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	editor.jpg
Views:	275556
Size:	158.9 KB
ID:	66925Click image for larger version

Name:	post.jpg
Views:	261043
Size:	111.0 KB
ID:	66927

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
DJ's AME (Auto Media Embedding) XML Media Definitions (Delta Edition) Digital Jedi vBulletin 3.8 Add-ons 1987 24 May 2013 00:06
DS's AME (Auto Media Embedding) Adult XML Media Definitions Digital Sith vBulletin 3.6 Add-ons 51 19 May 2013 20:13
DJ's AME (Auto Media Embedding) XML Media Definitions (Third Time's the Charm) Digital Jedi Modification Graveyard 828 10 Mar 2010 05:45
AME (Auto Media Embedding) XML Releases Dannyloski Modification Graveyard 289 09 Oct 2009 01:33

  #331  
Old 13 Jul 2007, 11:04
wastemytime wastemytime is offline
 
Join Date: Sep 2006
Originally Posted by The Geek View Post
Can you deactivate them all except for one at a time, edit and save the post to see if it is one of your items that is causing this to happen?
I did that and its always the same.

I modified nothing. Just installed and imported some other Videsites. Rebuild posts. No matter what i do, if i edit a post, the link shows only html or the Code (if i dont want to have the "Contain".)
Reply With Quote
  #332  
Old 13 Jul 2007, 11:39
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Im about to post a new version. Can you uninstall this one and install the new one. Let me know if it helps.
Reply With Quote
  #333  
Old 13 Jul 2007, 11:56
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
RELEASE NOTES FOR VERSION 1.2

I have released version 1.2 and this post contains important information regarding upgrading from previous versions.

All existing AMEs will be removed by upgrading to this version. If you have custum items, I would suggest exporting them before you upgrade. This was to necessitate updates of the original definitions and to ensure the plumbing for the new features was up to date. You will need to re-import your additional definitions after upgrading.

If you import any old items, you will want to ensure that their individual settings to Extract Destination Data is on (as well as the global option). Otherwise they may not fetch the titles.

New features:

AME now has the capability to extract embed codes from external pages. This is important for some services like yahoo and dailymotion as their URLs alone do not provide enough information to create the needed code. This facility requires that you enable the 'Extract destination' setting on (this used to be called the 'resolve titles' setting. Also note that while there is a global setting for this, each item can override the global default. This setting will need to be on globally and on the item to extract the page title and any embed code for relevant items. I know this sounds confusing, but it is actually quite straight forward

I have included 3 new services in the package: Yahoo, Dailymotion and Amazon. If you have your Extract Destination setting off, Yahoo and dailymotion will not function.

I have also enhanced all of the default regexps to accommodate URL variations better

Please note that I will attach 1.1.3 to this message for history sake. This is an older version than 1.2

I am heading off on vacation for a couple of weeks tomorrow morning but will pop in when I can.

nJoy
Attached Files
File Type: zip AME1.1.3.zip (22.5 KB, 43 views)
Reply With Quote
  #334  
Old 13 Jul 2007, 12:04
OS Master OS Master is offline
 
Join Date: Jun 2007
Great. Thanks for the update.
Reply With Quote
  #335  
Old 13 Jul 2007, 12:46
wastemytime wastemytime is offline
 
Join Date: Sep 2006
Originally Posted by The Geek View Post
Im about to post a new version. Can you uninstall this one and install the new one. Let me know if it helps.
I uninstalled, installed the new one..tested..and again. I edit my post, save and...only code shows up.
Reply With Quote
  #336  
Old 13 Jul 2007, 13:28
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Do you have any other media hacks enabled?
Reply With Quote
  #337  
Old 13 Jul 2007, 13:58
furst furst is offline
 
Join Date: Dec 2005
Hey Geek, I just installed the new version by uploading the product file through ACP, but DailyMotion and Yahoo! Video is not working. I get a blank white screen for DailyMotion videos and Yahoo! vids come up as nothing but the container.

I used these urls:
http://www.dailymotion.com/video/xr2...ian-warrent-k1
http://video.yahoo.com/video/play?vid=743282
Reply With Quote
  #338  
Old 13 Jul 2007, 14:07
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Im getting both just fine. Can you verify that the Extract Destination setting is both on globally and for those items? Can you also verify that titles for the other items are being fetched? (your server may not allow a URL through fetch_contents)
Reply With Quote
  #339  
Old 13 Jul 2007, 14:28
furst furst is offline
 
Join Date: Dec 2005
Originally Posted by The Geek View Post
Im getting both just fine. Can you verify that the Extract Destination setting is both on globally and for those items? Can you also verify that titles for the other items are being fetched? (your server may not allow a URL through fetch_contents)
I have Extract Destination set to yes in Settings, but I don't see the setting per individual item. I do have Active Set to no to prevent AME conversions and Contain Set to yes to wrap the matches in your container HTMLset to yes, though.

I think you may have uploaded the wrong version. When I import C:\Users\Home\Desktop\AME1.2\product-automediaembed.xml it shows it as version 1.1.3 in the product manager.

Oh, btw.. the titles are being fetched.


Edit: It works now. I didn't know I was supposed to re-upload the files. Still says 1.1.3 in the manager.

Last edited by furst : 13 Jul 2007 at 14:38.
Reply With Quote
  #340  
Old 13 Jul 2007, 14:44
wastemytime wastemytime is offline
 
Join Date: Sep 2006
Originally Posted by The Geek View Post
Do you have any other media hacks enabled?
No, i dont have any other Media Hack installed.
Reply With Quote
  #341  
Old 13 Jul 2007, 15:47
silence88 silence88 is offline
 
Join Date: May 2007
Thanks alot, working fine ! you the man ! this is what i was looking for 1!!

How do i make it possible pp can post vid from photobucket ?

Last edited by silence88 : 13 Jul 2007 at 15:53.
Reply With Quote
  #342  
Old 13 Jul 2007, 15:48
Subah's Avatar
Subah Subah is offline
 
Join Date: Feb 2006
Thanks for the update
Reply With Quote
  #343  
Old 13 Jul 2007, 16:08
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Originally Posted by Dannyloski View Post
Antivirus, I believe its only in the Showthread
The Geek, can you confirm this?
Thanks
__________________
Please feel free to PM me about custom work, installations, and upgrades!

Eclipse Records - Streetcult Street Team
Reply With Quote
  #344  
Old 13 Jul 2007, 16:14
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
@AV - Yup, only in posts

@waste: Have you tried the troubleshooting thread? Do any of those links work?

@Furst. THanks... Ill change the productxml to be 1.2
Reply With Quote
  #345  
Old 13 Jul 2007, 16:58
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Real name: Danny
Ohhh sweet 1.2 is out! Thanks The Geek, cant wait to install it ... I'm leaving today for a camping trip with the family, will be back on Monday, I'll install it then ... g2g, was suppose to be on the road about an hour ago, lol ...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 00:34.

Layout Options | Width: Wide Color: