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

Reply
 
Thread Tools
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
  #1142  
Old 01-23-2010, 02:03 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi DJ,

You answered my question about embedding MP3 attachments in Geeks thread and I thought I would follow up here. Even though I am using fb 4.0 my goal is to have an attached MP3 file play inline. What I have done is taken some of what you had written and worked created a new definition that looks like this:
HTML Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<AME3>
	<def>
		<providerid>6</providerid>
		<tagoption>MP3</tagoption>
		<provider>MP3</provider>
		<url>http://www.mysitename.com</url>
		<regex_url><![CDATA[([http://]*[\w]*[\.]*mysitename\.[\w/&;%-\.]+\.mp3?2?)]]></regex_url>
		<regex_scrape />
		<embed><![CDATA[<object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" width="250" height="20"> <param name="movie" value="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" /> <param name="bgcolor" value="#384651" /> <param name="FlashVars" value="mp3=$p1&amp;width=250&amp;showstop=1&amp;showinfo=1&amp;showvolume=1&amp;bgcolor=384651&amp;bgcolor1=31a2f4&amp;bgcolor2=0b8eee&amp;slidercolor1=ffffff&amp;slidercolor2=CCCCCC&amp;sliderovercolor=ffff00" /> </object>]]></embed>
		<priority>0</priority>
	</def>
</AME3>
However, I still can't seem to get it to play the attached file inline, it's just ignored as if it doesn't exist and I have also rebuilt my posts. I noticed you said in your statement when you released these that it's not the intent but I'm wondering if there is a way to get this to work with strictly .mp3 files.
Reply With Quote
  #1143  
Old 01-24-2010, 07:50 AM
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 ericgtr View Post
Hi DJ,

You answered my question about embedding MP3 attachments in Geeks thread and I thought I would follow up here. Even though I am using fb 4.0 my goal is to have an attached MP3 file play inline. What I have done is taken some of what you had written and worked created a new definition that looks like this:
HTML Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<AME3>
	<def>
		<providerid>6</providerid>
		<tagoption>MP3</tagoption>
		<provider>MP3</provider>
		<url>http://www.mysitename.com</url>
		<regex_url><![CDATA[([http://]*[\w]*[\.]*mysitename\.[\w/&;%-\.]+\.mp3?2?)]]></regex_url>
		<regex_scrape />
		<embed><![CDATA[<object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" width="250" height="20"> <param name="movie" value="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" /> <param name="bgcolor" value="#384651" /> <param name="FlashVars" value="mp3=$p1&amp;width=250&amp;showstop=1&amp;showinfo=1&amp;showvolume=1&amp;bgcolor=384651&amp;bgcolor1=31a2f4&amp;bgcolor2=0b8eee&amp;slidercolor1=ffffff&amp;slidercolor2=CCCCCC&amp;sliderovercolor=ffff00" /> </object>]]></embed>
		<priority>0</priority>
	</def>
</AME3>
However, I still can't seem to get it to play the attached file inline, it's just ignored as if it doesn't exist and I have also rebuilt my posts. I noticed you said in your statement when you released these that it's not the intent but I'm wondering if there is a way to get this to work with strictly .mp3 files.
Though I don't have AME 3 installed, fundamentally, it's the same process. The reason AME doesn't normally work with attachments is because attachment URLs are all the same. http://www.yoursite.com/attachment.php and some id numbers. Nothing else to tell the definition whether it's an MP3 or a PDF or a JPG file. Whatever the replacement HTML is, that's what AME is going to use every time. Not very practical when your user has posted a PDF, and AME tries to play it in an MP3 player.

If this has changed in vB4, and you have some way to distinguish file types (simply having the extension .MP3 in the URL would be enough, really) then you could get it to work. Only $p1 isn't used in AME 3. Double check one of the definitions, but I believe it's something like {vb:raw:something}. It just slips my mind at the moment.
Reply With Quote
  #1144  
Old 01-25-2010, 05:06 PM
Nook_Neformat Nook_Neformat is offline
 
Join Date: May 2006
Location: Kiev, Ukraine
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to add space between word "YouTube" and title of the video?
so it will be "YouTube - Title" istead of "YouTube- Title"
Reply With Quote
  #1145  
Old 01-25-2010, 08:46 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 Nook_Neformat View Post
is there a way to add space between word "YouTube" and title of the video?
so it will be "YouTube - Title" istead of "YouTube- Title"
Everything posted in the title is just duplicated from the title of the original video page. So without being able to edit the website itself, there's no way to change that.
Reply With Quote
  #1146  
Old 01-25-2010, 09:28 PM
Arkham's Avatar
Arkham Arkham is offline
 
Join Date: Nov 2001
Location: Toronto, Ontario
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
It would conflict with any other Amazon definition you'd have active. It comes down to the fact that there are no unique qualities to a URL with a video on it to differentiate it from any other Amazon product URL. So even if you decided to just have a definition that converted Amazon videos, it would still try to convert all the other pages into videos, too.
Ah, that makes sense. Thanks for the confirmation! It might be still be useful if we can use those videos as an all-or-nothing situation, if we don't need the other links/books embedded.

Maybe an option in the future?
Reply With Quote
  #1147  
Old 01-26-2010, 09:12 PM
imk imk is offline
 
Join Date: Dec 2006
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a member posted this up

Quote:
and I guess it comes with the AME (Auto Media Embedder) :
Code:
Parse error:  syntax error, unexpected '[' in /home/manly/public_html/forum/includes/ame_bbcode.php(323) : regexp code on line 1
I love codes errors lol!

Edit : error also occurs when I actually try to post a reply.

Edit2 : I tried a quick reply, see what happened :
Quote:
The following errors occurred with your submission:
  1. This forum requires that you wait 30 seconds between posts. Please try again in 29 seconds.
Then I'm on the preview problem.

Edit3 : the quick reply worked on some threads though... that's weird now! I should go to bed lol

Edit4 : (now that's gonna be epic!) : the error seemed to come from a link to Wikipedia I added in my reply, and causes troubles with AME.
Reply With Quote
  #1148  
Old 01-27-2010, 05:22 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 imk View Post
a member posted this up
Again, I need to see the link in question, or I can't help you.
Reply With Quote
  #1149  
Old 01-27-2010, 06:01 PM
wacnstac wacnstac is offline
 
Join Date: Nov 2001
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want people to be able to enter a place name in a BBCODE and have the Google Maps for that location displayed inline, or alternatively use another AME definition to do this. I tried to get this to work with a BB code but it turned out to be too complex and I'm not good with Regular Expressions in AME.....
Reply With Quote
  #1150  
Old 01-27-2010, 06:08 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 wacnstac View Post
I want people to be able to enter a place name in a BBCODE and have the Google Maps for that location displayed inline, or alternatively use another AME definition to do this. I tried to get this to work with a BB code but it turned out to be too complex and I'm not good with Regular Expressions in AME.....
AME parses URLs, not BBCode. I'm afraid you'd need a completely different application for that. AME won't parse terms or addresses, or other BBCodes.
Reply With Quote
  #1151  
Old 01-27-2010, 06:46 PM
wacnstac wacnstac is offline
 
Join Date: Nov 2001
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
AME parses URLs, not BBCode. I'm afraid you'd need a completely different application for that. AME won't parse terms or addresses, or other BBCodes.
Hmmm.
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 07:16 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.06415 seconds
  • Memory Usage 2,393KB
  • 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
  • (2)bbcode_code
  • (2)bbcode_html
  • (8)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
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)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
  • (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