Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest... Details »»
DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest...
Version: 3.0.0, by Digital Jedi Digital Jedi is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 11-09-2008 Last Update: 10-23-2013 Installs: 1406
Supported
 

NEARLY 300 SUPPORTED SITES FOR VIDEOS, AUDIO, GAMES AND MORE!


This is the most current repository of definitions for DJ's AME :: The Ultimate Automatic Media Embedder. These media definitions will expand your AME to support embedding from hundreds of websites. More videos. More than videos. These definitions will let you embed content from sites that include games, widgets, music players and so much more.

This repository was seeded by contributions from the vBulletin community over several years, but are curated here for easy access. Special thanks to Hotwheels and Danyloski for starting the tradition.


[hr]#CCCCCC[/hr]
NEWS
DJ's AME 2.5.7 is out! What are you waitin' fer?!


[hr]#CCCCCC[/hr]
IMPORT
DEFINITIONS ARE NOT INSTALLED They're imported through your AME CP. Which means you have to have AME installed first. You DO NOT import definitions through your Product Manager. I mean, you can try. But I'll make fun of you.

The READ ME file explains in more detail. Please don't skip it. I named it in big letters and everything.


[hr]#CCCCCC[/hr]
VERSION INFO
These definitions are for AME 2.5.

A BETA set of definitions for AME 3 can be found here.


[hr]#CCCCCC[/hr]
LIVE DEMO
This is my development area with a lot of test thread. As such, it's not a comprehensive list of all working definitions. You can find that below...


[hr]#CCCCCC[/hr]
MEDIA DEFINITIONS LIST
The full list of definitions is available in the second post of this thread. Requests for new definitions should be made here (no registration required), rather than in this thread. It makes it easier for me to keep track and to prioritize. Please do not use this area to contact me.
Code:
The password is: LetMeIn#33


[hr]#CCCCCC[/hr]
SUPPORT
I can't stress this enough. I NEED LINKS in order to troubleshoot problems. Links to the video. Links to the thread. I can't do anything without knowing what videos are causing the problem. If all you do is post that a particular site is not working and provide me with nothing to look at, well, how can I fix it? Following this simple guideline will save us both a lot of time and effort. (And check the FAQ on the first page. I worked really hard on that one. :erm: )

Please note that I do new definition requests in the order they were received and as timely as I can.

Download Now

File Type: zip DJs-AMEs-media-definitions.zip (220.8 KB, 664 views)

Screenshots

File Type: jpg Slide.com.jpg (98.7 KB, 0 views)
File Type: png World Star Hip-Hop.png (105.7 KB, 0 views)
File Type: png Twitter.png (255.6 KB, 0 views)
File Type: png Amazon Thumb.png (67.8 KB, 0 views)
File Type: png screen-pinterest-boards.png (435.9 KB, 0 views)
File Type: png screen-pinterest-pins.png (166.4 KB, 0 views)
File Type: png screen-storify.png (154.7 KB, 0 views)
File Type: png screen-gamesopoly.png (100.5 KB, 0 views)
File Type: png screen-google-maps.png (174.1 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
lottidah, muhakeme, vithorius, xorex

Comments
  #1812  
Old 02-18-2012, 07:59 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've never done it but I think that is what it is for, yes.
Reply With Quote
  #1813  
Old 02-22-2012, 01:55 PM
j-bo j-bo is offline
 
Join Date: Nov 2011
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still not having short youtube links to work. Anyone else have this problem?

Here is one that will not work. I have to use the "long" url version.

http://youtu.be/V-Z2l28UDQA

This is the regular expression I have:

Quote:
http://youtu\.be/([\w]+)\??[hd=1]*[&t=]*([\d]*)[\w]*
And the replacement:

Quote:
<iframe width="$ameinfo[width]" height="$ameinfo[height]" src="http://www.youtube.com/embed/$p1?start=$p2" frameborder="0" allowfullscreen></iframe>
Reply With Quote
  #1814  
Old 02-22-2012, 05:14 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The regular expression should be:

Code:
http://youtu\.be/([\w-]+)\??[hd=1]*[&amp;t=]*([\d]*)[\w]*
It was missing the - after the \w in the first parameter.

\w = any latter or number or underscore (but it doesn't match the dash (-) so you have to add the dash manuall because youtube ID's can have dashes in them.

I'm not sure if those double ?'s are right but if it works with other videos but not all I'm sure the dash is the problem.
Reply With Quote
Благодарность от:
j-bo
  #1815  
Old 02-22-2012, 05:27 PM
Pahonix Pahonix is offline
 
Join Date: Jul 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reposting from last page:

This GameSpot video isn't parsing:

http://www.gamespot.com/the-secret-w...video-6349173/

It appears that GameSpot has changed their video URL scheme. Almost all that I can find at http://www.gamespot.com/videos/index.html are www.gamespot.com / <gamename> / videos / videoname-videoid which doesn't match either of the conditions in the two GameSpot definitions (at least what my limited knowledge of expressions tells me).

The current expressions and replacements for GameSpot are:
Code:
http://www\.gamespot\.com/[\w/]*video/[0-9]+/([\d]+)[\w\/\-\?=;]*

<embed id="mymovie" width="432" height="362" flashvars="playerMode=embedded&movieAspect=4.3&flavor=EmbeddedPlayerVersion&skin=http://image.com.com/gamespot/images/cne_flash/production/media_player/proteus/one/skins/gamespot.png&paramsURI=http%3A%2F%2Fwww.gamespot.com%2Fpages%2Fvideo_player%2Fxml.php%3Fid%3D$p1%26mode%3Dembedded%26width%3D432%26height%3D362" wmode="transparent" allowscriptaccess="always" quality="high" name="mymovie" style="" src="http://image.com.com/gamespot/images/cne_flash/production/media_player/proteus/one/proteus2.swf" type="application/x-shockwave-flash"/>
and
Code:
http://www\.gamespot\.com/[\w/]*video/([\d]{7})[\w\/\-\?=;]*

<embed id="mymovie" width="$ameinfo[width]" height="$ameinfo[height]" flashvars="playerMode=embedded&movieAspect=4.3&flavor=EmbeddedPlayerVersion&skin=http://image.com.com/gamespot/images/cne_flash/production/media_player/proteus/one/skins/gamespot.png&paramsURI=http%3A%2F%2Fwww.gamespot.com%2Fpages%2Fvideo_player%2Fxml.php%3Fid%3D$p1%26mode%3Dembedded%26width%3D{$ameinfo[width]}%26height%3D{$ameinfo[height]}" wmode="transparent" allowscriptaccess="always" quality="high" name="mymovie" style="" src="http://image.com.com/gamespot/images/cne_flash/production/media_player/proteus/one/proteus2.swf" type="application/x-shockwave-flash"/>
Reply With Quote
  #1816  
Old 02-22-2012, 07:19 PM
j-bo j-bo is offline
 
Join Date: Nov 2011
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks BirdOprey5.. the dash was the problem. Although I took it straight from djs download and the regular youtube doesn't have the dash after the w.

But hey.. it works!
Reply With Quote
  #1817  
Old 04-07-2012, 02:33 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yikes. Over 1800 posts. if this has been asked before, I apologise.

How would I alter the xml file so that the locally hosted .mp3s definition works with *any* mp3, regardless of location? So if a user posts the URL of an MP3 it's embedded instead.

I tried messing with the xml file, but I really don't know what I'm doing. Looks like I need to replace the bit which says:

Code:
<findcode><![CDATA[([http://]*[\w]*[\.]*cogonline\.[\w/&;%-\.]+\.swf)]]></findcode>
With something else - some kinf of wildcard.mp3 or something.

Anyone got any ideas?
Reply With Quote
  #1818  
Old 04-07-2012, 04:10 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Morrus,

That won't work. AME is based off of recognizing specific patterns. If something is too general then it would start thinking all your text is media links and that would be a bad thing.

Forcing the link to correspond to a known URL where only a small part of the file name changes keeps those bad things from happening.

You will need to put some limitations on where the mp3 file is located.

You also don't edit the xml file... In Admin CP -> AME CP -> Add New Definition is where you would add/edit a definition.
Reply With Quote
  #1819  
Old 04-08-2012, 12:41 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Morrus,

That won't work. AME is based off of recognizing specific patterns. If something is too general then it would start thinking all your text is media links and that would be a bad thing.

Forcing the link to correspond to a known URL where only a small part of the file name changes keeps those bad things from happening.

You will need to put some limitations on where the mp3 file is located.

You also don't edit the xml file... In Admin CP -> AME CP -> Add New Definition is where you would add/edit a definition.
That's a shame. Unfortunately I'm using a bunch of RSS feeds to create a "podcast megafeed", which links directly to the podcast audio files, so the URLs are all different. The only thing they have in common is that they're all audio files.
Reply With Quote
  #1820  
Old 04-11-2012, 11:43 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Morrus View Post
That's a shame. Unfortunately I'm using a bunch of RSS feeds to create a "podcast megafeed", which links directly to the podcast audio files, so the URLs are all different. The only thing they have in common is that they're all audio files.
Although I personally don't recommend it, something like this as your Regex can theoretically work. Just know that you might run into pattern recognitions in posts when you don't want it to.

Code:
http://.*\.mp3
I'd recommend thoroughly testing it out first on your demo board.
Reply With Quote
  #1821  
Old 05-01-2012, 01:07 PM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does youtube work for anyone else?

Ive tried deleting and reimporting the definition xml and rebuilding post and rebuilding cache and nothing fixes it.
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 01:32 AM.


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.06409 seconds
  • Memory Usage 2,355KB
  • 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
  • (6)bbcode_code
  • (4)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
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)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