The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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)
Developer Last Online: Sep 2023
======================================== 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. GamesSITES 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)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.?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
|
Благодарность от: | ||
Equarter |
Comments |
#652
|
|||
|
|||
I'm having a problem with the blip.tv code from the latest version. Using one of the examples given in the first reply, when I try to embed http://blip.tv/file/591048 I get:
Code:
2008-11-06 20:53:17: (mod_fastcgi.c.2592) FastCGI-stderr: PHP Parse error: syntax error, unexpected '(' in includes/ame_bbcode.php(323) : regexp code on line 1 PHP Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_match("http://blip.tv/file/591048", "", 1, "~[\s]+player\.setPostsId\(([\d]+)\);[\s]+player\.setUsersId\([\d]+\);[\s]+player\.setUsersLogin\("([\w-_]+)"\)~sim", "",$ameinfo) in includes/ame_bbcode.php on line 323 |
#653
|
||||
|
||||
Quote:
Is this different from the one I just posted? I havn't had a chance to look at it yet. Quote:
Quote:
Are you using AME 2.5? I think Blip has some trouble with new BETA. |
#654
|
|||
|
|||
Quote:
Can you give me an example of how patterns can be matched in source HTML? |
#655
|
|||
|
|||
Yes ! the one you have posted is for playlists and mine is for tracks !
|
#656
|
||||
|
||||
Quote:
Best I could compare it to is, say you need an ID number for the embed code that isn't in the URL string. Say your embed code's video source is www.video.com/vidID=123456.flv. Well, 123456 isn't in the URL. The URL just says www.video.com/u/wow-what-a-dog!.html. So your going to have to look for 123456 in the source code. Thing is, www.video.com/vidID=123456.flv is not in the HTML of the page either. So you have to get those numbers some other way. You look at the source code of a few pages and you notice that the vidID is there in the pages, it's just not like it is in the embed code. In this hypothetical example lets say it's found like this in the source of the page: src="/getplayer/v=id123456.flv" So, you build your RegEx to match this for the extraction RegEx: src="/getplayer/v=id([\d]+)\.flv I grouped the area with ID number because that's what I'm going to refrence in my embed code. So that part in the embed code Replacement HTML will look like www.video.com/vidID=$p1.flv |
#657
|
|||
|
|||
DJ, sincere thanks for your help. I was able to create the definition for scribd. Here it is..
|
#658
|
||||
|
||||
Thank you simunaqv and skcyber. I've included them in this update.
Quote:
|
#659
|
||||
|
||||
***UPDATES (Part 2)***
This of this an addendum to the last update. Individual files have now been added to the Main ZIP. However, I'd advise a complete re-import of the Master XML from the main post, as I've started using a different naming convention for a lot of definitions. I will no longer be combining shared definitions into one XML file. As a result, those of you using AME with keys will likely get some duplicate definitions on import. If you plan on doing any adding to your definitions, please look over what your doing first to make sure you not duplicating anything, or just delete everything and import the new Master XML I just added. It will be less time consuming in the long run. |
#660
|
|||
|
|||
Hello i'm trying to embed my own MP3
i put in regular expression: ([http://]*[\w]*[\.]*lespoemes\.net\.[\w/&;%-\.]+\.mp3) and i've put ? mp3 in http://www.lespoemes.net this mp3 is 18.mp3 When i'm trying in message to put http://www.lespoemes.net/18.mp3 that doesn't work...????? What can i do ? |
#661
|
||||
|
||||
When you imported the MP3 definition, the only thing you should have changed was YOUR_SITE_NAME_HERE to lespoemes. Not lespoemes.net. Remove the .net.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|