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
  #1842  
Old 06-22-2012, 01:05 PM
Nook_Neformat Nook_Neformat is offline
 
Join Date: May 2006
Location: Kiev, Ukraine
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone can help to embed new divshare design?
Reply With Quote
  #1843  
Old 06-24-2012, 04:37 AM
Tourmeister Tourmeister is offline
 
Join Date: Nov 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't seem to get links to Google Maps to work:

Link to actual map here:

https://maps.google.com/maps?saddr=S...=1,2,3&t=m&z=6
Reply With Quote
  #1844  
Old 06-26-2012, 12:20 PM
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be great to have a code for this one:
http://www.zdf.de/ZDFmediathek/beitr...g---Die-Stolze
Thanks.
Reply With Quote
  #1845  
Old 07-05-2012, 07:29 PM
Tourmeister Tourmeister is offline
 
Join Date: Nov 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tourmeister View Post
Can't seem to get links to Google Maps to work:

Link to actual map here:

https://maps.google.com/maps?saddr=S...=1,2,3&t=m&z=6
Did Google change something with respect to how the maps are linked? I have AME 2.5.6 installed on my forum (VB 3.8.1 PL1) and it worked fine for a while just using the link to the map. Now, the map is not embedded and all that shows is the link, just as you see it in my post here. What is odd is that all the embeds that worked fine before still work fine when the old posts are viewed. But new attempts at embedding using the link will not work. Is there a new definition for AME that I need to update?
Reply With Quote
Благодарность от:
st.charles
  #1846  
Old 07-10-2012, 11:36 PM
wcbryant wcbryant is offline
 
Join Date: Dec 2003
Location: Florida
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been poking around today trying to figure out if I can use AME to embed tweets using Twitter's oEmbed.

I've got this in Regular expression:
Code:
http[s]*://[www\.]*twitter\.com/[\w]+/status[es]*/([\d]+)
And this in Replacement:
Code:
<script type="text/javascript" src="https://api.twitter.com/1/statuses/oembed.json?id=$p1"></script>
And yet what happens is I end up with a blank post with no tweet/Twitter rendering when I post something like "https://twitter.com/twitterapi/statuses/133640144317198338".

Is the problem somehow trying to render by way of javascript in a post through AME? I concede I may well be barking up the wrong tree trying to do it this way. Wide open to any and all suggestions.

https://dev.twitter.com/docs/embedded-tweets
https://dev.twitter.com/docs/api/1/get/statuses/oembed
Reply With Quote
  #1847  
Old 07-11-2012, 10:41 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you reload the page does the tweet show?
Reply With Quote
  #1848  
Old 07-11-2012, 02:08 PM
wcbryant wcbryant is offline
 
Join Date: Dec 2003
Location: Florida
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
If you reload the page does the tweet show?
Hey, thanks for the response. No, no change when you reload. Remains a blank post, but I can see the JS code there in a View Source. That may be noteworthy insofar as loading that oEmbed link directly (the target result of the replacement) returns all of the data (and a render script) as below (this is Twitter's example of it in practice):

https://api.twitter.com/1/statuses/o...40144317198338

So it's like it's not functioning as a GET, or not writing/parsing/embedding the response. I'm just not sure. Then again, it probably wouldn't show the response in the View Source even if it was working -- nevermind, just sorted that out.

Obviously I'm at a bit of a loss.

Also, I'm wondering about how safe/secure this is even if I did make it work. I suppose I'm only letting people pass a numeric string through to the script itself, so it can't get loaded up with anything malicious. See any issues on that front (as a secondary question)? Probably a non-issue, but I thought I'd ask someone who actually has a clue (unlike myself).
Reply With Quote
  #1849  
Old 07-11-2012, 03:22 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the required replacement code:

Code:
<blockquote class="twitter-tweet"><p>&nbsp;</p>&nbsp;<a href="https://twitter.com/twitterapi/status/$p1">&nbsp;</a></blockquote>
<script src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
The Javacript looks for the class "twitter-tweet" if it is missing nothing will happen.

No security risk as long as you trust Twitter.
Reply With Quote
  #1850  
Old 07-11-2012, 03:55 PM
wcbryant wcbryant is offline
 
Join Date: Dec 2003
Location: Florida
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
This is the required replacement code:

Code:
<blockquote class="twitter-tweet"><p>&nbsp;</p>&nbsp;<a href="https://twitter.com/twitterapi/status/$p1">&nbsp;</a></blockquote>
<script src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
The Javacript looks for the class "twitter-tweet" if it is missing nothing will happen.

No security risk as long as you trust Twitter.
Still not working on my end. Larger (vertically) mostly blank post with either a hyphen or an underscore in it.

Here's what's showing up in View Source:
Code:
<!-- message -->
		<div id="post_message_2176544">
			
			<div style="display: none;" id="ame_noshow_post_1342025206_1">
        <a href="http://www.(MYSITE).com/forum/redirect-to/?redirect=https%3A%2F%2Ftwitter.com%2F(SOMETWITTERNAME)%2Fstatus%2F(TWEETID)" title="Twitter" target="_blank">Twitter</a>
</div>
<div style="display: inline;" id="ame_doshow_post_1342025206_1">
<blockquote class="twitter-tweet"><p>&nbsp;</p>&nbsp;<a href="http://www.(MYSITE).com/forum/redirect-to/?redirect=https%3A%2F%2Ftwitter.com%2Ftwitterapi%2Fstatus%2F(TWEETID)">&nbsp;</a></blockquote>
<script src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
		</div>
		<!-- / message -->
So it's there and the tweet id is passing through properly. We're just not rendering their widget (or whatever it is) on the page/post.

Should the twitter.com/twitterapi GET be a script itself instead of an 'a href' call?

Nevermind, that didn't work either.

Just found this, it's how someone got it to work with PHPbb (which is probably completely irrelevant, but maybe there's something there:
http://punyweakling.com/add-a-tweet-...a-phpbb-forum/

I do appreciate the info and assistance.
Reply With Quote
  #1851  
Old 07-11-2012, 05:06 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems the AME mod is ignoring the uRL completely... at least om my forum. Weird. No idea why...
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 08: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.10082 seconds
  • Memory Usage 2,374KB
  • 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
  • (3)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