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: Jun 2014 I like it Show Printable Version Email this Page

vB Version: 3.6.7 Rating: (138 votes - 4.86 average) Installs: 1248
Released: 28 Jun 2007 Last Update: 13 Jul 2007 Downloads: 12504
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:	275606
Size:	158.9 KB
ID:	66925Click image for larger version

Name:	post.jpg
Views:	261097
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 AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest... Digital Jedi vBulletin 3.8 Add-ons 2075 14 Jul 2014 00:03
Digital Sith's AMEs - ADULT Media Definitions Digital Sith vBulletin 3.6 Add-ons 57 19 Nov 2013 20:58
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

  #136  
Old 30 Jun 2007, 20:59
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
@Liz - converted no problem

The [media] tags (or any tag that has the full URL in it) is simple. The code setting is media and the conversion is \1
I ran it on your test board and it converted all the media tags to url tags.

You can then use the rebuild posts tool to convert those to your new codes.

The GARS thread was fine. The problem was that either the posts need rebuilding OR you need to edit/resave for AME to convert the URL tags.
Looks like your [youtube] code will also be straight forward to convert. Do it the same as the media explained above.

Just make sure you read the admicp help on the converting tool and rember that the tool only converts tags back to normal URL tags. After that, use rebuild posts tool to convert them to AME tags.

HTHs
Reply With Quote
  #137  
Old 30 Jun 2007, 21:27
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
wow, I can't believe I've seen this

Thanks Sam
__________________
Contact me if you're looking for help with your forum.
Have you ever heard about cryptocurrencies? Check out the Reddcoin Forums to invest in your future!
Reply With Quote
  #138  
Old 30 Jun 2007, 21:39
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
I still dont quite get how to add additional xmls I see the import I tried all the xmls posted and only one worked but it was redundant already installed. with default settings. Geek are you going to be adding all these extras posted in the next update as part of the package?
Reply With Quote
  #139  
Old 30 Jun 2007, 22:22
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
I amy add yahoo and a couple others, but I would rather leave the rest as options to reduce overheads.

Once you import, the screen takes you to another screen that enables you to then add them. Are you not getting that?
Reply With Quote
  #140  
Old 01 Jul 2007, 00:40
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Sam can I suggest a feature ^^

You said you can import extra video sharing sites, so you don't have to build them in to save overhead right?

Why not create an import which has all the video sharing sites in the one import? I would like to have all the video sharing sites that there are, but others may not. so then the people who don't, can just import the single video sharing imports ^^ and the people who want the lot, can import the complete list of them ^^

I would create it, but ill leave it to the more advanced users
Reply With Quote
  #141  
Old 01 Jul 2007, 03:14
Lizard King's Avatar
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Real name: Mert
Originally Posted by hornstar1337 View Post
Sam can I suggest a feature ^^

You said you can import extra video sharing sites, so you don't have to build them in to save overhead right?

Why not create an import which has all the video sharing sites in the one import? I would like to have all the video sharing sites that there are, but others may not. so then the people who don't, can just import the single video sharing imports ^^ and the people who want the lot, can import the complete list of them ^^

I would create it, but ill leave it to the more advanced users
Probably he doesn't have time to do that. Thats why he suggest people preparing by themself.

Sam , there is something weird in the tools. Both hang out only the first page. Tried both test mode on and off. Convert codes just replace 1 post and thats it. Rebuild Post counts down till passing the next page however when i check the id's if always does the same postid's.
__________________
Mert G÷kšeimam / Crawlability Inc.

DepKaš | vBSEO 3.3.0 - vBulletin Search Engine Optimisation
Reply With Quote
  #142  
Old 01 Jul 2007, 05:58
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Originally Posted by Lizard King View Post
Probably he doesn't have time to do that. Thats why he suggest people preparing by themself.

Sam , there is something weird in the tools. Both hang out only the first page. Tried both test mode on and off. Convert codes just replace 1 post and thats it. Rebuild Post counts down till passing the next page however when i check the id's if always does the same postid's.
Yeah i'm aware that Sam is busy with his commercial products (I own four of them ^^ ) but considering how fast it took the other developer to implement so many different video sites into his, I don't think it would take someone as experienced as Sam long

But if Sam insists he wont, that is fine, hopefully another experienced person will be happy to put an import together which has a whole heap of the video sharing sites in it
Reply With Quote
  #143  
Old 01 Jul 2007, 07:34
furst furst is offline
 
Join Date: Dec 2005
Hi Sam, I've done all of that, and it still does not work. I looked in the error log, but there wasn't anything relevant there. I'm using php 4.3.9. Please help.
Reply With Quote
  #144  
Old 01 Jul 2007, 07:35
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Thank you for this

Install

I have found 2 problems with this.

1. the titles of the videos come out like this:
[color=#0000ff]http://www.youtube.com/watch?v=c949...

and when you select "Thread Tools" it hides behind the video

I have added a screenshot so you know what its like.

Thanks for any help
Attached Images
File Type: jpg untitled.JPG (29.5 KB, 50 views)
Reply With Quote
  #145  
Old 01 Jul 2007, 08:59
cyberbob73 cyberbob73 is offline
 
Join Date: Jun 2006
Have also times a question. Property me these chop inserted however these does not want not to function. With me in each case the left is indicated to the video, but not the Player.
Attached Images
File Type: jpg bild15.jpg (10.5 KB, 30 views)
Reply With Quote
  #146  
Old 01 Jul 2007, 09:00
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
@Horn: Its actually a decent idea. Ill compile them into a larger xml to impoty as more are contributed

@Lizard. Is the test setting ticked? If so, you will never get past page 1 as no changes will ever be made. Make sure test mode is off.

@nathan: Try adding wmode="transparent" to the embed element in the replacement code. I have no clue how or why it would add color bbcode. So you have some other bbcode hack that tries to color urls?
Reply With Quote
  #147  
Old 01 Jul 2007, 09:00
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Originally Posted by cyberbob73 View Post
Have also times a question. Property me these chop inserted however these does not want not to function. With me in each case the left is indicated to the video, but not the Player.
sorry, I don't follow you
Reply With Quote
  #148  
Old 01 Jul 2007, 09:04
cyberbob73 cyberbob73 is offline
 
Join Date: Jun 2006
Look please here ===> http://www.cyberbobs-welt.de/showthread.php?t=6786
Reply With Quote
  #149  
Old 01 Jul 2007, 09:15
Lizard King's Avatar
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Real name: Mert
@Lizard. Is the test setting ticked? If so, you will never get past page 1 as no changes will ever be made. Make sure test mode is off.
I tried both versions Sam . If you want the login info still remains , you can login and check it on ayyas.
__________________
Mert G÷kšeimam / Crawlability Inc.

DepKaš | vBSEO 3.3.0 - vBulletin Search Engine Optimisation
Reply With Quote
  #150  
Old 01 Jul 2007, 09:26
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Originally Posted by cyberbob73 View Post
did you try this: http://www.vbulletin.org/forum/showp...&postcount=116
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 17:10.

Layout Options | Width: Wide Color: