Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
DJ's AME (Auto Media Embedding) XML Media Definitions (Third Time's the Charm) Details »»
DJ's AME (Auto Media Embedding) XML Media Definitions (Third Time's the Charm)
Version: 11.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.7.6 Rating:
Released: 04-06-2008 Last Update: 01-10-2010 Installs: 405
Re-useable Code  
No support by the author.

NO LONGER SUPPORTED. RECOMMEND YOU UPGRADE TO AME 2.5 AND MY DELTA SET OF DEFINITIONS.


========================================

IMPORTANT - PLEASE READ
These XML Files must be imported through your AME CP. That requires The Geek's AME - The Automatic Media Embedding System to be installed on your forum. Then you can come back here and import these definitions.

========================================

VERSION INFO - PLEASE READ
While AME 2.0+ was redesigned for vBulletin 3.7.x, it should still function on versions 3.6.x. These media definitions will work with any version of AME.

AME 2.0 now works with Social Groups, Blogs, Profile Comments and Visitor Messages (if your running vB 3.7.x, obviously). However, AME 2.5 BETA also supports signatures and has a global resizing option for each of these regions. If you decide you want the resizing functionality, you will need the definitions from this thread instead: DJ's AME (Auto Media Embedding) XML Media Definitions for 2.5


WHAT THIS IS?
This thread is the third installment of a series of threads where we tried to collect media definitions for the AME modification by The Geek. The brilliance of The Geek's modification was that support for a given site could be added by people who knew a little about Regular Expressions, and then share the exported definitions with the community without The Geek having to update the modification each and every time.

Hotwheels, and then Dannyloski both worked hard to maintain threads where we collected these definitions so they could all be in one place and easily downloaded. But both met with some unfortunate circumstances where they could no longer maintain those first two threads. Then I came along with my inordinate lack of something to do, and put everything together with the hope that I could keep things going as well. Hence the little joke there in the title about "Third Time's the Charm".

So in addition to updating, I've kind of taken it upon myself to keep up with these definitions, collect, contribute and generally maintain this aspect of the modification. Hence the reason why I consider this the ultimate media embedding system for vBulletin, as we, as a community, have generated XML definitions for over 160 various kind of media outlets. I personally try to add at least 10 new sites every few months.


LIVE DEMO
This demo is running AME 2.0.2 on a live site. Periodically, this area will be closed for development.


MEDIA DEFINITIONS
New definitions are always in the works and any requests or XML contributions of your own are welcome.

This is the complete list of Media Definitions, alphabetized and sorted by category. Please read any notations I've made for a particular definition here, since I can't include them in the XMLs.
Games
GamesOpoly
Nonoba

Music/Audio
eBaums World (Audio)
eSnips (Music) (Turned off by default. Cannot be used with eSnips Video active!)
GoEar
Jiwa
Jiwa (Playlists)
Playlist

Other
AllPosters (Thumbnails)
Amazon (Links) (Tuned off by default. Cannot be used with Thumbnails active!)
Amazon (Thumbnails) (Turn this off if you decide to use Amazon Links instead. The two cannot be used together!)[/I]
CafePress (Thumbnails)
CNET Downloads (Badges) (For badges to work properly, you must download the images provided at the end of this list)?
Wikipedia (Links)??
Daily HaHa (Funny Pictures)
eBaum's World (Audio)
Flickr Slideshows (Photostreams)
Flickr Slideshows (Sets)
Google (Let Me Google That For You) (Tuned off by default. Cannot be used with Search Results active!)
Google (Search Results) (Turn this off if you decide to use Let Me Google That For You instead. The two cannot be used together!)
Google Maps
ImageShack (Slideshows)
MegaUpload (Badges) (For badges to work properly, you must download the images provided at the end of this list)?
Wikipedia (Links)??
RapidShare (Badges) (For badges to work properly, you must download the images provided at the end of this list)?
Wikipedia (Links)??
RockYou
Scribd
Slide (SlideShows)
SlideShare
zSHARE (Badges) (For badges to work properly, you must download the images provided at the end of this list)?
Wikipedia (Links)??
Wikipedia (Thumbnails) - (Beta - Cannot be used with Wikipedia (Links) Active.)

Video
220
2K Sports
5min Life Videopedia
Adult Swim
Apache Clips
Atom
BikerPunks
Blip
Break
CBS News
CBS Sports (AKA Sportsline)
Clarin
Clipfish
ClipShack
College Humor
Comedy Central
Crackle
Crave Online
Current
CNN
Daily HaHa
Daily Motion
Daily Motion (Playlists)
Dark Orange
Diesel Bombers
DisneyTube
DivShare
Dorks
EA Sports World
eSnips (Videos) (Turn this off if you decide to use eSnips Music instead. The two cannot be used together!)
eBaums World (Videos)
ESPN
Facebook
FanDome
FileCabi
Flektor
Flickr
FloTrack
Flowrestling
Fox News
Funny Or Die
G4TV
Game Trailers
GameSpot
GameVideos
Giant Bomb
Globo
Google Video
Grapheine`s BombayTV
Guba
Guitar-Tube
H3Press
Hulu
I Am Bored
iKlipz
ImageShack
IGN
Izlesene
Izleturk
JibJab
Jokeroo
Joe Cartoon
JustinTV
Koreus
Last.FM
Layartancap
Libero
Live Video
LiveLeak
Magnify
Media Matters
MegaVideo
Metacafe
MLG: The Game Room
Motionbox
MotorsportsMad
MSNBC
MTV
MTV Music
MyModelTalk
MySpace
MyVideo.Co.Za
MyVideo.De
Newsclipper
Nollywood
PC Planets (MetaCafe Videos)
PC Planets (YouTube Videos)
Photobucket (Videos)
Photosynth
Poker Tube
Porkolt
Pure Pwnage
Putfile
Raw Vegas
RuTube
Rediff
Revision3
Revver
Sclipo
Sevenload
Social Paintball
South Park (Clips)
Speedaholic
Spike
Spiked Humor
StreetFire
Tangle
The Colbert Report (Clips)
The Daily Show (Clips)
The Escapist
The Onion
The WB
TinyPic
Today's BIG Thing
Tu
Tudou
UOL
UOL Mais
UOL Videolog
Ustream (Live & Recorded)
Veoh
Viddler
Video Tube
VideoJug
Video.Mail.Ru
Vidiac
vidiLife
Vimeo
VistaKU
Vreel
WeGame
World Star Hip-Hop
Xfire
Yahoo!
Yatahonga
YouTube (with Deep Linking support)
YouTube (Playlists)
YouKu
YouKu (Playlists)

Local Hosted Videos
For videos uploaded to your site, you need these Media Definitions. These XML files need to be edited, either in the AME CP or in an HTML Editor. Look for YOUR_SITE_NAME_HERE and change it to the domain name of your site. Do not include .com, .net, .de, .co.uk or anything like that. So, for example, if your site is www.cogonline.net, then you'd change YOUR_SITE_NAME_HERE to cogonline. This DOES NOT embed attachments.

DIVX (.DIVX Extentions)
MP3 (.MP3 Extentions)
PDF (.PDF Extentions)
QuickTime (.MOV Extentions)
RealMedia (.RM & .RAM Extentions)
Flash (.SWF Extentions)
Windows Media Videos (.WMV Extention)

SITES NOT AVAILABLE (The "No-Fly List")
These are previously made or requested XML files that were working, but for varying circumstances, I can't make work at the moment. Things could change at a moment's notice, though, so be sure to subscribe to my updates.
CBS News (Nothing to refrence in URL or HTML code)
BBC (No embeddable code)
EuroNews (No embeddable code)
MiniClip (The good news is, from what I can tell, almost all MiniClip Games are available at EmbedGames.com, which I just made an XMLs for!)
NBA (The URL of the first page opened doesn't change after clicking on subsequent videos. There's not even a permalink to reference.)
TrTube (Doesn't work for me, but that may be a regional problem. Demo available for testing here.)


SUPPORT
I'm always happy to help to the best of my ability, but please don't just say your video isn't working without providing links to either the video or the post your having a problem with. I can't help unless I know what to look for. Also be sure to check the FAQs in the following two posts, as your question has likely been answered many times. Thanks.


DOWLOAD AND INSTALLATION
There are three files available, though you don't neccesarly need all three. Definitions are installed by importing them through your AME CP in your Admin CP. YOU DO NOT IMPORT THEM THROUGH YOUR PRODUCT MANAGER.
DJ's Master XML: This is the file you want if you're starting fresh and want the complete line of supported media sites. Remember that definitions do not overwrite, so you would need to delete your default definitions before importing this file.

DJ AMEs: [s]This ZIP file contains all the same sites as the Master XML, but as individual XML files, in case you want to pick and choose which sites you want support for.[/s] This option is no longer available for Third Time's the Charm.

DJ's Local Hosted AMEs: This ZIP file contains the definitions for locally hosted media, that is, media your hosting on your own server. As explained above, you need to make the appropriate edits upon import and it does not convert videos uploaded as attachments. (Also see the Read Me in the Local Hosted ZIP file)

?The 9 following images also need to be added to your images/misc directory.


??
Remember to Click Install so you can be informed via email when a new files is added or updated!! I've got more in the works! :up: :up: THANKS everyone!

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Equarter

Comments
  #12  
Old 04-07-2008, 11:29 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 hornstar1337 View Post
Is there anyway you can make it so it does not install that particular one if it is already added, as I just had several duplicates, and now I have no way of knowing which one I should keep.
Afraid not with the Master XML. As I mentioned, AME doesn't overwrite existing definitions. But one way you can tell the ones from my Master XML file is by looking at the display number. I set all mine to 1, that way they will be alphabetized in the AME CP. Also my descriptions always use the description "Embed ________.___ Videos!", baring Music and Games, of course. Remember, that you don't have to wait to delete duplicates after you import. You can always duplicate them before hand. Just make sure you have your back up XML files just in case something goes wrong.

You can also just import the individual files in the ZIP files, which is a little more time consuming, but a lot more specific.

Quote:
Originally Posted by GrendelKhan{TSU View Post
wow awesome. great job!

so... just to be clear...
if "start fresh" and delete our old XMLs... do we have to convert anything again?
and delete even the default ones?
Nope, you shouldn't have to convert anything that wasn't already converted. That is, at least, the experience I've had with the modification. You will have to delete a lot of the default ones, as a good number of those don't work anymore, or don't exist (like iFilm). Use your best judgement. Also take into consideration if you've created anything that I don't have here. For new AME users, I would recommend deleting the default definitions and starting with my Master XML.

Quote:
EDIT: yah, tested it. gotta delete the defaults with AME as well.

<<< WORKING ON 3.7 RC2

ps. is there a way to control size for flash swf local hosted files?
You sure can. Any individual definitions can be altered by adjusting the height and width attributes in the Replacement HTML for that particular definition.
Reply With Quote
  #13  
Old 04-07-2008, 01:41 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great work I must say :up:
Reply With Quote
  #14  
Old 04-07-2008, 02:21 PM
NoDRaC's Avatar
NoDRaC NoDRaC is offline
 
Join Date: Feb 2006
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for imeem music

Active and contain: yes

Regular expression:
Code:
http://[\w]*\.imeem\.com/music/([\w]+/[\w_]+)/
Replacement:
Code:
<object width="300" height="80"><param name="movie" value="http://media.imeem.com/m/$p1"></param><param name="wmode" value="transparent"></param><embed src="http://media.imeem.com/m/$p1" type="application/x-shockwave-flash" width="300" height="80" wmode="transparent"></embed></object>
Extract destination data: Yes

Code:
http://media\.imeem\.com/m/([\w/=]+)
Reply With Quote
  #15  
Old 04-07-2008, 02:39 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your regex is perfect, but you'll need to ungroup a couple of items in the regular expression in order for it backreference properly. Otherwise it will take a URL like this:

http://rayj.imeem.com/music/Z_soii_o/ray_j_all_i_feel/

and $p1 will try to put Z_soii_o/ray_j_all_i_feel instead of referencing the embed code where the video ID number is:

http://media.imeem.com/m/7tGKCr7sUP/

The first regular expression should look like this so it skips over it properly.
Code:
http://[\w]*\.imeem\.com/music/[\w-_]+/[\w-_]+/
Otherwise, it's perfect. I'll add it to the next update.

EDIT: Looks like a few of the URLs have a dash in the first [\w]+ area. So I added a dash (-) and a underscore (_) just in case.
Reply With Quote
  #16  
Old 04-07-2008, 10:39 PM
stuartn stuartn is offline
 
Join Date: Apr 2006
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Am I right in thinking that clipshare is difficult to extract the data as the key used requires .php to find the related .flv file. While the embed code hits direct to the .flv file.

Is it possible to run a small .php script ahead of the embed code to match the key to the right .flv file and use that result to plug into the embed code.

Hope I'm making sense.

I have the find code sorted to create the box and player, but obviously this will not hit a file you need the related .flv file to achieve this. If so I can write up a brief find code to pull the correct .flv.

i.e. I use $p1 in .php to find the required record from the database and thus pull the required .flv as $p2
Reply With Quote
  #17  
Old 04-07-2008, 11:10 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll look into it Stewart. With all the "clip" sites out there, I hadn't realized we didn't already have clipshare.

Until then, I have eight new definitions guys and gals:

Adult Swim
Imeem (Music) by NoDRaC
Imeem (Playlists)
Imeem (Video)
Jokeroo
Koreus
Magnify
Tu.TV

These have also been added to the ZIP and the Master XML.

EDIT: One little note I forgot to add about Jokeroo. It auto-plays. No way around that at the moment.
Reply With Quote
  #18  
Old 04-07-2008, 11:58 PM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Truely awesome work. May I ask if this works on 3.6.9? Also, how did you get this Dailymotion video link to work?
http://www.dailymotion.com/video/x49...nk5_shortfilms

Look like it's not working on 3.6.9.
Reply With Quote
  #19  
Old 04-08-2008, 12:48 AM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome addition .. I have one question .. how do I solve this :-

Quote:
Your 'Extract Destination Data setting is currently off. That means that you will be unable to resolve URL titles and some providers (i.e. yahoo and dailymotion) will not function!
EDIT -- problem solved
Reply With Quote
  #20  
Old 04-08-2008, 03:47 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 rapidphim View Post
Truely awesome work. May I ask if this works on 3.6.9? Also, how did you get this Dailymotion video link to work?
http://www.dailymotion.com/video/x49...nk5_shortfilms

Look like it's not working on 3.6.9.
Is that the only video not working for you? If the other's are working, and it's just this particular URL, check to make sure your Extract destination data setting is on.

Quote:
Originally Posted by TTG View Post
Awesome addition .. I have one question .. how do I solve this :-
Extract destination data is in under Settings in your AME CP.
Reply With Quote
  #21  
Old 04-08-2008, 05:14 PM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

YouTube is not working for me also (I'm running 3.6.9) All I shown is just the URL...
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 04:53 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.14222 seconds
  • Memory Usage 2,346KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_code
  • (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
  • (3)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete