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
  #642  
Old 07-07-2009, 10:27 AM
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Location: MSK-RU
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DemoVFW View Post
Had the same problem. You need to set "Extract destination data" to YES in vb cpanel-> AME-> Settings. I'm able to embed daily motion now.
Daily Motion

Regular expression by default:
PHP Code:
http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/[\w\-]+ 
Extract destination data by default:
PHP Code:
http://[w\.]*dailymotion\[/url].[com|alicet\.]+/swf/([\w]*) 
In any way [com|alicet\.]must be [com|alice\.it]

Also the only way I was able to make Daily Motion working is to set:
  • Regular expression to:
    PHP Code:
    http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/([\w\-]+) 
  • And set off "Extract destination data".
  • And remove "Embedding Regexp"
Reply With Quote
  #643  
Old 07-07-2009, 11:13 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 daihlo View Post
I get this message

Parse error: syntax error, unexpected '~' in /home/wwwcage/public_html/forum/includes/ame_bbcode.php(242) : regexp code on line 1

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_match(&quot;http://www.cagefilm.com/video/1475/M...king-4-MMA-DVD&quot;, &quot;&quot;, 1, &quot;~swf\?config=http://www\.cagefilm\.com/nuevo/econfig\.php\?key=([\w]*?)\\&quot;~sim&quot;, $ameinfo) in /home/wwwcage/public_html/forum/includes/ame_bbcode.php on line 242


Any ideas?

thanks - daihlo
Are you using the file cache? That doesn't look right at all.
Reply With Quote
  #644  
Old 07-07-2009, 11:15 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 TMH63 View Post
Anyone??
I'm not sure I follow what you are trying to do. If the definition is set to extract info from the destination page, the name of the page will appear in the media title. Otherwise the definition title appears.
Reply With Quote
  #645  
Old 07-07-2009, 11:17 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 MonkYZ View Post
Thanks again. Unfortunatelly i think there is a small letter missing (and i can't find where that is. Here is the title i get for the videos (i think the letter "R" is missing from [/COLOR]):
You are pasting a link with color and font encoding into the IE WYSIWYG editor. Take a 'clean' URL (i.e. copy from the address bar of the destination page).
Reply With Quote
  #646  
Old 07-07-2009, 11:40 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 abdulbasitsaeed View Post
Is it possible to update the definitions for Scribd documents? They do not display properly with this mod.
Here is scribd, though I only tested a couple permutations of the URLs.

BTw: Extraction must be on to obtain the embed key.

HTHs
Attached Files
File Type: xml AME-scribd.xml (2.0 KB, 11 views)
Reply With Quote
  #647  
Old 07-07-2009, 11:52 AM
TMH63 TMH63 is offline
 
Join Date: Jan 2007
Location: MN
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek View Post
I'm not sure I follow what you are trying to do. If the definition is set to extract info from the destination page, the name of the page will appear in the media title. Otherwise the definition title appears.

I guess that I was under the assumption that one could change the title name that comes up as the definition of the video. Like X video @ YOURWEBSITENAME or whatever you wanted to put there.
Reply With Quote
  #648  
Old 07-07-2009, 12:01 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Guess you could edit the ame_container template and change:

<a href="$ameinfo[url]" title="$ameinfo[title]" target="_blank">$ameinfo[title]</a>

to

<a href="$ameinfo[url]" title="$ameinfo[title] @ YOURSITENAME" target="_blank">$ameinfo[title] @ YOURSITENAME</a>
Reply With Quote
  #649  
Old 07-07-2009, 02:13 PM
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 Makc666 View Post
Daily Motion

Regular expression by default:
PHP Code:
http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/[\w\-]+ 
Extract destination data by default:
PHP Code:
http://[w\.]*dailymotion\[/url].[com|alicet\.]+/swf/([\w]*) 
In any way [com|alicet\.]must be [com|alice\.it]

Also the only way I was able to make Daily Motion working is to set:
  • Regular expression to:
    PHP Code:
    http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/([\w\-]+) 
  • And set off "Extract destination data".
  • And remove "Embedding Regexp"
As per my other post, I think you were over thinking this one (at least from the examples I saw).

Dailymotions URL structure is

domain.suffix/various/paths/depending/on/things/name_of_video

In the embed code, you see a couple of references:

http://www.dailymotion.com/swf/name_of_video

and

http://www.dailymotion.com/swf/name_of_video

So, all we need is the name_of_video which can be taken from the URL and put into the replace code.

See attached definition
Attached Files
File Type: xml AME-dailymotion.xml (958 Bytes, 13 views)
Reply With Quote
  #650  
Old 07-07-2009, 02:30 PM
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Location: MSK-RU
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek View Post
As per my other post, I think you were over thinking this one (at least from the examples I saw).

Dailymotions URL structure is

domain.suffix/various/paths/depending/on/things/name_of_video

In the embed code, you see a couple of references:

http://www.dailymotion.com/swf/name_of_video

and

http://www.dailymotion.com/swf/name_of_video

So, all we need is the name_of_video which can be taken from the URL and put into the replace code.

See attached definition
The Geek, thanks for reply.

I understand that I can use only Regular expression .

This is OK for me.

I am trying to understand why Embedding Regexp doesn't work for me on that Daily Motion?

As I understand AME does this one:
  1. Finds an URL of Daily Motion in post using Regular expression for example the URL:
    http://www.dailymotion.com/video/x9m63m_canarias-timelapse_creation
  2. Then if Embedding Regexp is filled
  3. AME takes that URL from post
  4. Extracts HTML Source of that page it got from the URL
  5. Using Embedding Regexp AME tries to find some "text" for that Regexp from that HTML Source
  6. If AME finds, then it uses it to build Replacement

Am I right?
Reply With Quote
  #651  
Old 07-07-2009, 02:43 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You only use the Embedding Regexp if the data needed to embed cannot be found within the URL itself.

For example:

if the embed code for www.myvideo.com/watch.php?v=123456 looks like:
<embed src="http://www.myvideo.com/watch.php?v=abcdef" ... />

In this instance, the URL doesnt 'tie up' to the embed HTML so AME needs to go to www.myvideo.com/watch.php?v=123456 and find the abcdef part. With the Embedding Regexp, AME pulls down the page and runs something like:

http://www\.myvideo\.com/watch\.php\?v=(\w+)

Which grabs the abcdef part so the video will properly embed.

In the event that the URL contains the information you need (i.e. the dailymotion definition I just posted) then this process is redundant and a time waster. Furthermore, the Embedding Regexp is generally different than the regexp used to match the URL in the first place.

Hope this helps.
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:47 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.05489 seconds
  • Memory Usage 2,386KB
  • 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
  • (1)bbcode_code
  • (6)bbcode_php
  • (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
  • (12)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