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
  #692  
Old 07-14-2009, 02:37 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
Ok, I worked up a solution that I have tested for the above 3 links.

1. Remove your existing youtube definitions.
2. Import the AME definition attached to this post. I have modified the default version to do what we need it to do (I will also update the default for next AME release to this version).
3. Change the plugin above code to this:

PHP Code:
if ($ameinfo['key'] == "youtube" && $ameinfo['zone'] == "post")
{
    if (
strpos($ameinfo['url'], "fmt=22"))
    {
        
$ameinfo['width'] = "640";
        
$ameinfo['height'] = "480";
        
$p1 .= "&hd=1";
    }
    elseif (
strpos($ameinfo['url'], "fmt=18"))
    {
        
$ameinfo['width'] = "560";
        
$ameinfo['height'] = "380";
    }

Now, the only embed code I could get a different formatting code on was IF it had fmt=22 in the URL. I am not sure what fmt=18 does.

This will basically deal with youtube links as normal, however if the URL contains fmt=18, it will make the video appear a little bigger. If the URL contains fmt=22 then it appears even bigger than that in HD.

Anyhoo, tested with your 3 links above and seems to work.

HTHs
Attached Files
File Type: xml AME-youtube.xml (983 Bytes, 16 views)
Reply With Quote
  #693  
Old 07-14-2009, 02:39 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
Thanks. I saw someone else do it here but I don't know how.
Dont think that is AME. I suspect they have the ability to post HTML direct.
Reply With Quote
  #694  
Old 07-14-2009, 02:45 PM
Deyth's Avatar
Deyth Deyth is offline
 
Join Date: Sep 2003
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think 18 is hq and 22 is hd. I'll test this now and get back to you. Great response to all this, thanks. Your addon is quite impressive.
Reply With Quote
  #695  
Old 07-14-2009, 02:45 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
Try escaping the quotes as in :
I tried:

PHP Code:
<link rel=\"canonical\" href=\"/video/([a-z_0-9-]+)\" 
PHP Code:
<link rel=\"canonical\" href=\"/video/\([a-z_0-9-]+\)\" 
PHP Code:
<link rel=\"canonical\" href=\"/video/(\[a-z_0-9-\]+)\" 
Do not work...

P.S. Found a bug in PHP BB Code...
Really the lines above look like:

Code:
<link rel=\"canonical\" href=\"/video/([a-z_0-9-]+)\"
Code:
<link rel=\"canonical\" href=\"/video/\([a-z_0-9-]+\)\"
Code:
<link rel=\"canonical\" href=\"/video/(\[a-z_0-9-\]+)\"
It looks like some sort of bug here
Reply With Quote
  #696  
Old 07-14-2009, 02:49 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
I tried:

PHP Code:
<link rel=\"canonical\" href=\"/video/([a-z_0-9-]+)\" 
PHP Code:
<link rel=\"canonical\" href=\"/video/\([a-z_0-9-]+\)\" 
PHP Code:
<link rel=\"canonical\" href=\"/video/(\[a-z_0-9-\]+)\" 
Do not work...

P.S. Found a bug in PHP BB Code...
Really the lines above look like:

Code:
<link rel=\"canonical\" href=\"/video/([a-z_0-9-]+)\"
Code:
<link rel=\"canonical\" href=\"/video/\([a-z_0-9-]+\)\"
Code:
<link rel=\"canonical\" href=\"/video/(\[a-z_0-9-\]+)\"
It looks like some sort of bug here

Worked for me. Export the definition and ill check it out as you have it.
Reply With Quote
  #697  
Old 07-14-2009, 02:50 PM
Deyth's Avatar
Deyth Deyth is offline
 
Join Date: Sep 2003
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works in terms of changing container size although the HD doesn't actually match an HD video in size. Also, for some reason when you click on the embed to go to Youtube it doesn't bring you to the HD video. I don't know if that's a Youtube or addon issue. Compare:

http://unmoderated.info/forums/showt...1683#post11683
http://www.youtube.com/watch?v=Kw2gy01gkzs&fmt=22
Reply With Quote
  #698  
Old 07-14-2009, 02:54 PM
Deyth's Avatar
Deyth Deyth is offline
 
Join Date: Sep 2003
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The HD size should be 853x505.
Reply With Quote
  #699  
Old 07-14-2009, 03:02 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 sizes were just estimates I threw in. Change as it suits your forum (853 in width will break a lot of forum layouts).

When I clicked on the 3rd one, it took me to the HD version of the video, though in honesty I suspect they should have hd=1 in the URLs. THis is something Ill look into better ways to support in the future.

Also, the 3rd one does play in HD, so appart from the sizes (which you can change to suit you) it works as you want doesnt it?
Reply With Quote
  #700  
Old 07-14-2009, 03:09 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
Worked for me. Export the definition and ill check it out as you have it.
The Geek, yep.

Looks like it works for me also.

Better don't know why it was not working. :erm:

AME Settings -> Extract destination data -> No

And the notice message which has to be displayed while you were editing some definition was "Dismiss"ed a long time ago.

The Geek, I promise, I will punish myself.

Really sorry.
Excuse me!
It will be another lesson for me.

Thanks for you time!
Reply With Quote
  #701  
Old 07-14-2009, 03:14 PM
Deyth's Avatar
Deyth Deyth is offline
 
Join Date: Sep 2003
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek View Post
The sizes were just estimates I threw in. Change as it suits your forum (853 in width will break a lot of forum layouts).

When I clicked on the 3rd one, it took me to the HD version of the video, though in honesty I suspect they should have hd=1 in the URLs. THis is something Ill look into better ways to support in the future.

Also, the 3rd one does play in HD, so appart from the sizes (which you can change to suit you) it works as you want doesnt it?
Yes it is, thanks again.
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 10:44 PM.


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.17039 seconds
  • Memory Usage 2,392KB
  • 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
  • (7)bbcode_php
  • (6)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