Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AME - Auto Media Embedding (youtube, Amazon, google, myspace, etc...) Details »»
AME - Auto Media Embedding (youtube, Amazon, google, myspace, etc...)
Version: 1.2.0, by The Geek The Geek is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.7 Rating:
Released: 06-27-2007 Last Update: 07-12-2007 Installs: 1245
DB Changes Uses Plugins
Additional Files  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #622  
Old 09-03-2007, 06:05 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chadi View Post
Hi Danny. Thanks for the mod.

If you can do godtube.com that would be great.

I know nothing about programming but the embed code looks similar to any other video site like youtube.com

Example:

Code:
 <embed src="http://godtube.com/flvplayer.swf" FlashVars="videoThumb=http://www.godtube.com/thumb/1_11096.jpg&flvPath=http://www.godtube.com/flvideo1/7/11096.flv" wmode="transparent" quality="high" width="330" height="270" name="flv_demo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>

Has anyone figured this out yet? Just curious.

Also, how do I set the alignment of the video frame? By default its centered, I prefer it to be left align. Also, how do I actually edit the frame itself because the links are clashing (purple) over the darker purple background. Which template is this found in?
Reply With Quote
  #623  
Old 09-03-2007, 06:55 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone support this mod after you install it...or are you pretty much left guessing?
Reply With Quote
  #624  
Old 09-03-2007, 09:37 PM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright guys, sorry I have been super busy with School and other personal things ... Now, let me replies to those posts made ...

SKULL1985, per your request (I am sure a lot of people will enjoy these RegExs) I have added both of the requested sites. Please download the attached ESPN Videos and SpikedHumor Videos XMLs and Import them via the Import Tool of AMECP (AdminCP > AMECP > Import). Enjoy!

DiesellMinded, I looked at their code and missed something important - they update their Video Directories on a daily basis. For example one day the Video is hosted in the folder 09030202PM then the next day they host it in 09040517PM or similar folder. If you follow it, the Directory Name changes by Date and Time Access of the Video. So everytime the a Video is loaded they move it to a new/different directory so that people dont do what we are doing, which is Hot Linking and taking their Bandwidth. The only way around this would be with the Extract Info Feature where an additional RegEx would come into play to extract the new directory of the Video each time it's accessed, but like you already know, I do not know how the Extract Info Feature works so EHOWA cannot be supported at this time. I really apologize as I know not many of the sites you have requested have been able to get done due to the need of the Extract Info Feature and you donated towards the license fee, but I have tried my best and have had no luck with the Feature - I just dont get it. Again, sorry ...

cclaerhout, you are correct on both of your posts. First of all, Slide.com would require the use of the Extract Info Feature and at this point I do not know how it works, so I cannot add support for those sites who require it. And finally, yea this Hack at the moment does not work with vB Blogs - that's something that The Geek (author of the Hack) would have to code or do something to accomplish it - I cannot do that.

Saviour, to your latest post (#630) I say this: The Geek (author of this Hack/Mod) has some personal issues and matters he has to take care before he can come back and keep supporting this Hack. If you would go back a few pages you would find all of this info available for you. In the meantime, I am doing most of the Support for this Hack (up to where I can as I am not the author and do not know how all of the Hack's Functions work). I am doing this for free as well and I dont have to do it, but I am because I wanna help others. So please just be patient as I too have a life and am not going to be 24/7 in the computer adding support to this Hack that's not even mine. With that said, to your previous post (#627) I say this: Please download the Attached .XML for Joe Cartoon Videos and you can enjoy the Videos from JoeCartoon.com in your Forums :up:

chadi, I think I am the only one adding Support via XML's at the moment and nope I still dont understand the Extract Info Feature, so GodTube.com cannot be added and will NOT be added until The Geek comes back and either does a Tutorial on how that Feature works or does those RegExs himself. As far as aligning the Video Frame to the Left instead of having it Centered, you can go here: Admin CP> AMECP > Settings > Container HTML > Open ... Now where you see <div align="center"> change it to <div align="left"> ... Hope that helps. Get back at me if it doesnt with the whole code you have in the "Open" Box - Mine is modified, so it may be a bit different than yours.

Now, I think that's everything ... If I missed someone's posts sorry, didnt mean to just kinda busy and wanted to reply quickly ... Get at me if you have any questions by posting here or via PMs, but I'd prefer posting here. Good luck guys and hope you all enjoy the New RegExs ... Keep the request coming and when I get some time I'll add them (if they dont require the Extract Info Feature that is ) ...

- Danny
Reply With Quote
  #625  
Old 09-03-2007, 11:47 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No Sweat
Reply With Quote
  #626  
Old 09-04-2007, 07:40 AM
SKULL1985 SKULL1985 is offline
 
Join Date: Jan 2007
Location: England
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Danny , just what i needed.
Reply With Quote
  #627  
Old 09-04-2007, 07:59 AM
WEBclay's Avatar
WEBclay WEBclay is offline
 
Join Date: Aug 2006
Location: Switzerland
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dannyloski View Post
Received, thank you. I checked out Sclipo.com, but it needs the Extract Info Feature in order for it to work. Since I still dont understand how that works even after several hours of trying to understand it and testing with no results, I guess I cant add support for it just yet.
-----------------------------------------------------------
So, no chance to get this working?
Reply With Quote
  #628  
Old 09-04-2007, 04:33 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dannyloski View Post
Alright guys, sorry I have been super busy with School and other personal things ... Now, let me replies to those posts made ...

Saviour, to your latest post (#630) I say this: The Geek (author of this Hack/Mod) has some personal issues and matters he has to take care before he can come back and keep supporting this Hack. If you would go back a few pages you would find all of this info available for you. In the meantime, I am doing most of the Support for this Hack (up to where I can as I am not the author and do not know how all of the Hack's Functions work). I am doing this for free as well and I dont have to do it, but I am because I wanna help others. So please just be patient as I too have a life and am not going to be 24/7 in the computer adding support to this Hack that's not even mine. With that said, to your previous post (#627) I say this: Please download the Attached .XML for Joe Cartoon Videos and you can enjoy the Videos from JoeCartoon.com in your Forums :up:
- Danny
Danny...

Thanks...I imported the XML, however, I want to show the cartoons in the post, but somewhere along the line, it's not working...am I missing something?

BTW...thank you so much for giving it a shot...

-Steve
Reply With Quote
  #629  
Old 09-04-2007, 06:30 PM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DiesellMinded, thanks for understanding :up: ...

SKULL1985, glad you like it and glad to help ...

WEBclay, at the moment no. You will need to wait until The Geek comes back and does a Tutorial for the Extract Info Feature or wait until he does the RegEx coding himself.

Saviour, the JoeCartoon XML is for content in the "Videos" Section only, thats what I was aiming for. I could try and create an additional RegEx for the Cartoons Section, but JoeCartoon.com seems to be down at the moment, so I will have to wait until they get the site back online so I can take a look at the code and see if its doable. BTW, what was the link that you were using?
Reply With Quote
  #630  
Old 09-04-2007, 06:41 PM
WEBclay's Avatar
WEBclay WEBclay is offline
 
Join Date: Aug 2006
Location: Switzerland
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To bad, thanks anyways...Doesn't seems like The Geek will do anything further
Reply With Quote
  #631  
Old 09-04-2007, 09:01 PM
bigjoe7 bigjoe7 is offline
 
Join Date: Jun 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work with vbadvanced?
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:42 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05176 seconds
  • Memory Usage 2,338KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete