Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

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
  #212  
Old 07-14-2008, 12:05 PM
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 Baldilocks View Post
Myspace videos no longer work.. bummer!!
Link me to the page that's not working, because I just tried 3 random MySpace Videos and they all embedded fine for me.
Reply With Quote
  #213  
Old 07-14-2008, 01:45 PM
Kinneas's Avatar
Kinneas Kinneas is offline
 
Join Date: Dec 2005
Location: Nottingham, UK
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks DJ, you're a star!
Reply With Quote
  #214  
Old 07-14-2008, 02:05 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 welcome.
Reply With Quote
  #215  
Old 07-14-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

Quote:
Originally Posted by nautiboy View Post
First, thanks for this! It's very cool.

Second, has anyone already figured out how to get it to work with videos that are hosted with gallery2? I use gallery2 on my site to host the videos so I'd like to be able to embed them in the forum posts too.

You need to actually parse the gallery page to get to the actual content. You can see an example if you go to this video on my site:

http://www.baue.org/images/galleries...3Edge.mov.html

Obviously one other thing that needs to be fixed is to search for .mov.html (or wmv.html), but that's pretty easy. The harder part is parsing the page to figure out that the actual video is http://www.baue.org/images/galleries...2-4/E3Edge.mov.

It would be even cooler if you could also parse the actual width and height, but I don't think you specify that dynamically with AME, can you?
Nauitboy, don't think I forgot you, but I ... well, okay I kind of did forget you. But forgive my oldtimer's disease just this once, as I did find a solution to your problem, I just completely forget to mention it after I made this new round of defs.

It's actually quite simple. If you don't' already have the locally hosted definitions, or don't have the updated ones I just released, go ahead and add them, remembering to delete any duplications.

As you import them, add your forum name to the two pertinent locations, and at the very end of the Regular expression add this:

HTML Code:
[\.html]*
That will make it to where it won't matter if you post a video from your Gallery, or post one from it's file location, it will still embed.
Reply With Quote
  #216  
Old 07-14-2008, 08:03 PM
AndyA AndyA is offline
 
Join Date: Apr 2005
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Heh, that's because in the short time I made the Vreel definition and the time I release it, they went and changed the embed code structure on me. It's completely different now. Try this one. It should work for you.
What a star, works like a charm. Thank you. :up:
Reply With Quote
  #217  
Old 07-14-2008, 10:45 PM
Burley Burley is offline
 
Join Date: Aug 2003
Location: Apeldoorn
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You were right.

Sorry to bother you with the brightcove thing again, but I still can't get the brightcove video's to work;
Below is the link I got from paintballstar.com

Code:
http://link.brightcove.com/services/link/bcpid1126114367/bclid1133242044/bctid1636622561
On my forum, it just shows the link, nothing more.
Reply With Quote
  #218  
Old 07-14-2008, 11:58 PM
KingPin6's Avatar
KingPin6 KingPin6 is offline
 
Join Date: Sep 2006
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a problem with importing the master.xml , when i import it in the preview it shows all the ones listed in the file, but when I finish and view the display it only shows a few have actually been imported.

VB 3.7.2
linux / apache
Reply With Quote
  #219  
Old 07-15-2008, 02:13 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 Burley View Post
You were right.

Sorry to bother you with the brightcove thing again, but I still can't get the brightcove video's to work;
Below is the link I got from paintballstar.com

Code:
http://link.brightcove.com/services/link/bcpid1126114367/bclid1133242044/bctid1636622561
On my forum, it just shows the link, nothing more.
Is that some sort of playlist or player?

AME converts media based on the URL of a page. It isn't, say, guessing or scanning any Brightcove page and converting any media that happens to be there. The definition has to tell it what specfic URL structure to look for, and then specifically what lines of code to look for at that URL. If you post a differently structured URL or the lines of code are nowhere to be found on the page, then AME ignores it.

In this case, this player's URL is nothing like the standard Brightcove URL structure. It will only convert a URL that looks similar to this: http://www.brightcove.tv/title.jsp?t...nel=1184524476, the standard type of page a video is found on. Once it recognizes the URL it will scan the page for the corresponding RegEx patters found in the definition. Anything beginning with http://link.brightcove.com isn't part of that structure and will be ignored.

If you can direct me to where players are made, I can see if I can make a definition for them. I can't guarantee it, but I will look at it. In some cases, like in the case of the YouTube Custom Player, it isn't possible because there's no relevant code to reference.


Quote:
Originally Posted by KingPin6 View Post
I am having a problem with importing the master.xml , when i import it in the preview it shows all the ones listed in the file, but when I finish and view the display it only shows a few have actually been imported.

VB 3.7.2
linux / apache
I've never seen that happen before and I can't image what would cause it. Perhaps the server has some sort of limitation on it? Worst comes to worst you could import them all individually. What I would first do is reinstall AME (don't uninstall it) by re-importing the AME product with it set to overwrite. What will happen is the default definitions will reappear and you can delete those and try reimporting the Master XML. I can't guarantee it will work because, as I said, I've never seen it happen before, but that would be the first thing I would try. And, of course, be sure to back up your database first just in case.

Oh, and perhaps even more basic, when you imported the definitions, where all of them set to Yes?
Reply With Quote
  #220  
Old 07-15-2008, 06:08 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Daily Motion is not working for me either:

http://gridironfans.com/forums/showthread.php?t=63848

When I post this:
PHP Code:
[url]http://www.dailymotion.com/video/x245ln_ric-flair-vs-ricky-steamboat-wrestl_sport[/url]

[url]http://www.dailymotion.com/related/x245ln/video/x246so_ric-flair-vs-ricky-steamboat-wrestl_sport[/url] 
It's converting it to this:
PHP Code:
[url="http://www.dailymotion.com/video/x245ln_ric-flair-vs-ricky-steamboat-wrestl_sport"]Video Ric Flair vs Ricky Steamboat (WrestleWar 89 Part One) - ricflairrickysteamboatwrestlewar Dailymotion Share Your Videos[/url]

[
url="http://www.dailymotion.com/related/x245ln/video/x246so_ric-flair-vs-ricky-steamboat-wrestl_sport"]Video Ric Flair vs Ricky Steamboat (WrestleWar 89 Part Two) - ricflairrickysteamboattwo Dailymotion Share Your Videos[/url
And no video is showing....
Reply With Quote
  #221  
Old 07-15-2008, 06:18 AM
Burley Burley is offline
 
Join Date: Aug 2003
Location: Apeldoorn
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Is that some sort of playlist or player?

AME converts media based on the URL of a page. It isn't, say, guessing or scanning any Brightcove page and converting any media that happens to be there. The definition has to tell it what specfic URL structure to look for, and then specifically what lines of code to look for at that URL. If you post a differently structured URL or the lines of code are nowhere to be found on the page, then AME ignores it.

In this case, this player's URL is nothing like the standard Brightcove URL structure. It will only convert a URL that looks similar to this: http://www.brightcove.tv/title.jsp?t...nel=1184524476, the standard type of page a video is found on. Once it recognizes the URL it will scan the page for the corresponding RegEx patters found in the definition. Anything beginning with http://link.brightcove.com isn't part of that structure and will be ignored.

If you can direct me to where players are made, I can see if I can make a definition for them. I can't guarantee it, but I will look at it. In some cases, like in the case of the YouTube Custom Player, it isn't possible because there's no relevant code to reference.

Checkout this page. A litle above the middle of the page is the videoscreen.
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: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.07407 seconds
  • Memory Usage 2,371KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_html
  • (2)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
  • (3)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