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
  #682  
Old 07-14-2009, 08:39 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 The Geek View Post
The regexp will capture x9m63m_canarias-timelapse_creation into $p1
Did I understand right that it will capture x9m63m_canarias-timelapse_creation using Embedding Regexp?
Reply With Quote
  #683  
Old 07-14-2009, 09:32 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

Here is a new definition for internal linking. Note that this will link ALL guest accessible area of your site so you don't need seperate ones for linking posts, threads, etc. If you have DJ's internal linking definitions installed, please delete those before importing this one.

Note that you will need to edit this definition during the import process or afterward to enter your domain name.

The setting you want to change is the Regular Expression in order to swap YOUR_DOMAIN to whatever your domain name is.

For example, lets say that your domain is www.google.com (can I be your friend if it is?). You would change:

PHP Code:
[http://]*[a-z]*?[\.]?YOUR_DOMAIN\.[a-z]*?/([A-Z0-9._%-\?\=]*) 
to

PHP Code:
[http://]*[a-z]*?[\.]?google\.[a-z]*?/([A-Z0-9._%-\?\=]*) 
Note that you do not add and special characters, prefixes or suffixes (i.e. do not use .com or .co.uk, or start with www., etc...)
Attached Files
File Type: xml AME-internal.xml (756 Bytes, 17 views)
Reply With Quote
  #684  
Old 07-14-2009, 09:33 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 Makc666 View Post
Did I understand right that it will capture x9m63m_canarias-timelapse_creation using Embedding Regexp?
Yes. It will appear in the output if you have $p1 in your replace code.
Reply With Quote
  #685  
Old 07-14-2009, 10:17 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 The Geek View Post
Yes. It will appear in the output if you have $p1 in your replace code.
After LONG time conversation we are on our final way

But the problem is - it doesn't work

May be you will try your-self?
  • Post URL:
    http://www.dailymotion.com/video/x9m63m_canarias-timelapse_creatio
  • Regular expression
    PHP Code:
    [http://]*[a-z]*?[\.]?dailymotion\.[com|alice\.it]+/[\w/\-%]*video/([\w\-]+) 
  • Replacement
    PHP Code:
    <object width="$ameinfo[width]height="$ameinfo[height]"><param name="movie" value="http://www.dailymotion.com/swf/$p1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/$p1type="application/x-shockwave-flash" width="$ameinfo[width]height="$ameinfo[height]allowFullScreen="true" allowScriptAccess="always"></embed></object
  • Extract destination data
    Yes
  • Embedding Regexp
    PHP Code:
    <link rel="canonical" href="/video/([a-z_0-9-]+)" 

This one doesn't work

I made a test file and there it works...
PHP Code:
<?php

$test 
"       <link rel="canonical" href="/video/x9m63m_canarias-timelapse_creation" />";

$what "<link rel="canonical" href="/video/([a-z_0-9-]+)"";

if (
ereg ($what$test$regs)) {
    echo 
"$regs[1]";
} else {
    echo 
"Invalid date format!";
}

?>
Reply With Quote
  #686  
Old 07-14-2009, 11:07 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

Try escaping the quotes as in :

PHP Code:
<link rel=\"canonical" href="/video/([a-z_0-9-]+)" 
Reply With Quote
  #687  
Old 07-14-2009, 11:59 AM
Deyth's Avatar
Deyth Deyth is offline
 
Join Date: Sep 2003
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use AME 2.5.5. I imported your master XML list without a hitch and then tried to post a link to an HD Youtube video but it showed up as with an SD size. How do I get it to show as it would on Youtube?
Reply With Quote
  #688  
Old 07-14-2009, 12: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

Quote:
Originally Posted by Deyth View Post
I use AME 2.5.5. I imported your master XML list without a hitch and then tried to post a link to an HD Youtube video but it showed up as with an SD size. How do I get it to show as it would on Youtube?
It's DJ's add on, so I am not 100% sure about his youtube key, but you can do this:

create a plugin:

Hook Location: automediaembed_parse_bbcode_match_start
Title: Youtube HD Bigga Please

code
PHP Code:
if ($ameinfo['key'] == "youtube_hqhd" && $ameinfo['zone'] == "post"

        
$ameinfo['width'] = "640"
        
$ameinfo['height'] = "480"

IIRC, his youtube HD key is youtube_hqhd but you will need to double check. The code above will override the media settings if the key is youtube_hqhd its in a post.

FWIW, I am investigating the ability to override these settings on a per definition basis in a future version of AME.
Reply With Quote
  #689  
Old 07-14-2009, 01:02 PM
Deyth's Avatar
Deyth Deyth is offline
 
Join Date: Sep 2003
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You got the key right but it doesn't work. These are the links I'm testing with:

http://www.youtube.com/watch?v=Kw2gy01gkzs
http://www.youtube.com/watch?v=Kw2gy01gkzs&fmt=18
http://www.youtube.com/watch?v=Kw2gy01gkzs&fmt=22
Reply With Quote
  #690  
Old 07-14-2009, 02:17 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

The last one is the only one that looks like it should be the HD one. Ill look into DJ's definition and see if I can see if/why it may/may not be working.
Reply With Quote
  #691  
Old 07-14-2009, 02:31 PM
Deyth's Avatar
Deyth Deyth is offline
 
Join Date: Sep 2003
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I saw someone else do it here but I don't know how.
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:39 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.06338 seconds
  • Memory Usage 2,394KB
  • 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
  • (8)bbcode_php
  • (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
  • (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
  • (11)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