Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
AME 2.5 - Media Embedding for posts, sigs, vm's, groups and blogs Details »»
AME 2.5 - Media Embedding for posts, sigs, vm's, groups and blogs
Version: 2.5.6, by The Geek The Geek is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.0 Rating:
Released: 01-19-2009 Last Update: 12-08-2009 Installs: 1968
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

From the makers of the letters O and Yea comes the hottest 'must have mod' of the season: AME 2.5 - The Return of The Hot Mama.

Thanks everyone for making AME 2.5 Mod of the Month

AME is the multi award winning modification that smartly scans new and edited posts for URLs from a customisable variety of web sites (i.e. YouTube or Amazon or about 200 others). If it finds a match, AME will 'transform' the URL into inline embedded media without your users ever having to even think about it.

It was important for me to create a system that did not need updating (and subsequent reinstalling) every time one of the sites it supported decided to change the way it displayed its media (which is all the fricken time). Therefore I built a system in which the 'definitions' for each site could be imported, exported, tweaked and shared on a whim. This way, you only have to import the definitions that you want. It also allows the vB community to get creative and share definitions that I wouldn't of thought of!

Which sites are supported?

Included in the default installation is YouTube and Amazon. At time of posting this, I believe that there are over 180 sites supported that have been created by the vBulletin community. These range from sites that stream videos to Amazon referral links to locally hosted music and video files.

Check out the 'add ons' section of this post below to see availible add-ons.

For a total list of features and an FAQ, see click here.
For a post on troubleshooting, click here.

Though not tested on any version of vBulletin lower than 3.7.4, in theory it should work on versions 3.5 and higher (just dont quote this bit!).

Big thanks goes out to all those in the community that have supported this mod. Especially Digital Jedi who gives great support on this mod and has created over 160 definitions for this system alone!


Installation/Upgrade
  • Upload the contents of the forums folder into your forums directory and import the product-ame.xml file into your product manager (if upgrading, choose 'yes' to overwrite previous installation).
  • 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.

Change Log
nJoy

Download Now

File Type: zip ame2.5.6.zip (46.6 KB, 6324 views)

Screenshots

File Type: jpg newpost.jpg (26.4 KB, 0 views)
File Type: jpg newpost_result.jpg (61.9 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
Digital Jedi, luizalmir, Neal-UK, vijayninel, vithorius, zascok

Comments
  #992  
Old 11-17-2009, 05:49 AM
cliffhanger cliffhanger is offline
 
Join Date: Jul 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, I'm an 8th grade teacher who uses tutorial videos within forum postings for my students.

I've been successful getitng a pencast (livescribe) into my forum (you can't download actual files for the pencasts, you have to put in an XML refererence within the embed code)

The regular expression I'm using is:

http://[\w]*[\.]*mywebsite\.[\w/&;%-\.]+/([\d\w]+)(?:.*)

I did it this way so when I use $p1 I can just type in http://www.mywebsite/xmlfilename without using the extension because an extenstion like .mp4 will mess things up (as I'm referencing an XML file. However, the above expression is going to try and embed anything now that has 'mywebsite' domain in the URL.

Is there anyway that I can set $p1 or $p2, etc so it only grabs the filename (as an example, if I had video.mp4, it only grabs video to put in for $p1 instead of video.mp4 -- I don't want the .mp4 or whatever extension included in $p1). I need some kind of extension so AME only embeds the appropriate links. I've tried everything, and even went to http://www.regexbuddy.com and I got to the point that the above expression sets $p1 without the extension, but now everything embeds.

Help please. My 8th grades will be very appreciative, and me too
Reply With Quote
  #993  
Old 11-17-2009, 07:58 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cliffhanger View Post
Help please. My 8th grades will be very appreciative, and me too
lol. Play my heart strings!

TBH, I couldn't really follow what you are trying to do. If you can provide actual examples of what users would type/paste in and what the site should show (embed code wise) I can see what I can do
Reply With Quote
  #994  
Old 11-17-2009, 07:30 PM
cliffhanger cliffhanger is offline
 
Join Date: Jul 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



Here's the replacement embed code that I'm using

Code:
<object height="316" width="228" align="middle" id="myFlashContent3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param value="http://www.livescribe.com/media/swf/pencastPlayer.swf?path=http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML?xml=$p1" name="movie" /><param value="high" name="quality" /><param value="true" name="allowfullscreen" /> <object height="316" width="228" align="middle" data="http://www.livescribe.com/media/swf/pencastPlayer.swf?path=http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML?xml=$p1" type="application/x-shockwave-flash"><param value="high" name="quality" /><param value="true" name="allowfullscreen" /> <a href="http://www.adobe.com/go/getflashplayer"><img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" /></a></object></object>
I have $p1 as a replacement, and the following text gets put in for $p1

0000C0A80116000009C5920D00000124F67ECAA959F4B88C

and that's it. There's no typical filename like .mp4 or .flv. So the actual code after the $p1 is replaced looks like:

Code:
<object height="316" width="228" align="middle" id="myFlashContent3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param value="http://www.livescribe.com/media/swf/pencastPlayer.swf?path=http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML?xml=0000C0A80116000009C5920D00000124F67ECAA959F4B88C" name="movie" /><param value="high" name="quality" /><param value="true" name="allowfullscreen" /> <object height="316" width="228" align="middle" data="http://www.livescribe.com/media/swf/pencastPlayer.swf?path=http://www.livescribe.com/cgi-bin/WebObjects/LDApp.woa/wa/flashXML?xml=0000C0A80116000009C5920D00000124F67ECAA959F4B88C" type="application/x-shockwave-flash"><param value="high" name="quality" /><param value="true" name="allowfullscreen" /> <a href="http://www.adobe.com/go/getflashplayer"><img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" /></a></object></object>
The problem is when I had the regular expression as

Code:
(http://[\w]*[\.]*mysite\.[\w/&;%-\.]+\.mp4)
I could write 0000C0A80116000009C5920D00000124F67ECAA959F4B88C.m p4 even though it's not really an mp4 file, the $p1 includes the .mp4 extension. This way I can specify which linkes get embedded with a dummy .mp4 extension. But if I leave the regular expression as

Code:
http://[\w]*[\.]*mysite\.[\w/&;%-\.]+/([\d\w]+)(?:.*)
$p1 replaces correctly as 0000C0A80116000009C5920D00000124F67ECAA959F4B88C but then every link that has my domain name in it tries to get embedded. I just need a way to set $p1 or have a $p2 so I can have the correct xml reference put in (like 0000C0A80116000009C5920D00000124F67ECAA959F4B88C)

I hope that makes more sense. If you'd rather me message you privately with my actual site name for my students, I can do that, but I don't want to say it here publicly since it's a site closed to the public only for my students and for their school work and tutorial videos.

Thanks!

Tim
Reply With Quote
  #995  
Old 11-17-2009, 08:43 PM
morphin morphin is offline
 
Join Date: Mar 2009
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is anyone havign problems with this plugin?? it says embedding disabled by request watch on youtube when I click the vid to watch
Reply With Quote
  #996  
Old 11-18-2009, 12:53 AM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by morphin View Post
is anyone havign problems with this plugin?? it says embedding disabled by request watch on youtube when I click the vid to watch
See notes here: https://vborg.vbsupport.ru/showpost....64&postcount=3
Reply With Quote
  #997  
Old 11-18-2009, 02:31 AM
cliffhanger cliffhanger is offline
 
Join Date: Jul 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To further clarify my previous post, I think really all I need help with is setting up the regular expression formula:

Either

Code:
http://[\w]*[/url][\.]*mysite\.[\w/&;%-\.]+/([\d\w]+)(?:.*)
or

Code:
http://[\w]*[/url][\.]*mysite\.[\w/&;%-\.]+\.mp4)
to have a second backreference (on how to do that) so I can use $p2. I've tried altering the formula many times, and so far nothing seems to be working.

Thanks,

Tim
Reply With Quote
  #998  
Old 11-18-2009, 03:18 AM
cliffhanger cliffhanger is offline
 
Join Date: Jul 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I finally figured it out. I must have finally put the right symbol by trial and error into my regular expression. The following works in order for me to get a livescribe pencast correctly embedded:

Code:
http://[\w]*[\.]*mysite\.[\w/&;%-\.]+/([\d\w]+)\.live
The .live is just a dummy extension so I'm able to identify which links are livescribe video pencasts. Thanks for your offering to help earlier -- I think I have it all figured out now.

Tim
Reply With Quote
  #999  
Old 11-19-2009, 03:22 AM
furst furst is offline
 
Join Date: Dec 2005
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to make the container re-sizable to a greater width and height by pressing a collapse button in the corner?
Reply With Quote
  #1000  
Old 11-19-2009, 06:22 PM
webgroup webgroup is offline
 
Join Date: May 2006
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack has stopped working since yesterday, seems like it needs to be updated for new Youtube settings.
Reply With Quote
  #1001  
Old 11-19-2009, 07:19 PM
jca2112's Avatar
jca2112 jca2112 is offline
 
Join Date: Sep 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I can also confirm the hack has stopped parsing all YouTube links since yesterday -- it simply shows the url with the "External Embedding Not Available" title on all links (regardless whether external embedding has been enabled or not.)

Maybe something changed with YouTube's 1080p rollout?
Reply With Quote
Reply

Thread Tools

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 11:57 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07181 seconds
  • Memory Usage 2,347KB
  • Queries Executed 27 (?)
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
  • (7)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (6)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete