The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
AME - Auto Media Embedding (youtube, Amazon, google, myspace, etc...) Details »» | |||||||||||||||||||||||||||
AME - Auto Media Embedding (youtube, Amazon, google, myspace, etc...)
Developer Last Online: Jan 2019
From the inventors of Swiss Cheese and the Egg comes AME - The Automatic Media Embedding System.
Note that Version 2.0.0 can be found here AME is derived from GAL 6 base code but instead of linking keywords, it converts URLs that users paste or enter in their posts into inline embedded video streams. Big credit goes out to mfyvie for the original concept that jazzed me up enough to lift code that I have been working on to radically improve his fresh idea. Though the same goal, I have taken a totally different approach to his initial release. This mod is 100% steaming fresh code straight from the Geeks oven of love. First... the overview AME scans new and edited posts for pre-defined patterns of URLs (i.e. youtube's). If it finds a match, it swaps the url tag for an ame tag. When a post get parsed for bbcode and an ame tag is found, instead of hammering away at the post with umpteen bbcodes, AME quietly figures out which pre-defined embedding should be placed there and... viola', you have a pretty little embedded video like this: Attachment 66927 This is significantly faster, has much lower overhead and is much easier to manage than loads of bbcodes or a than scanning every single post as the user views it to see if there are any conversions that need to be made. Now for the bells and whistles AME:
Add ons AME comes configured with YouTube, Myspacetv, Google Video, Bolt, iFilm, Yahoo, Dailymotion, Amazon and MetaCafe Support built in. Since the amount of providers are always changing and most sites will only need a particular amount, AME has been designed with an import and export system to allow members to easily share formats with one another. In fact, the second post of this thread is updated periodically to relflect those add ons. Currently there are over 12 more additional formats contributed by AME users. Click here to see them. Installation
Troubleshooting See this post on troubleshooting A note about support and such I have my plate pretty full with taking care of my commercial mods and the support that comes with them. Saying that, I will help when I can - but to be honest, I have ensured that there should be little to no support needed on this mod as it is very much self contained. Please do not PM or post asking me to give you regexp's to support additional media streams. I built the system so that you can add your own providers as well as the ability to import and export them. If you still need a pattern but are not great with regular expressions (who is?) then I suggest getting RegExpBuddy. Although I am not expert at regular expressions, I did a quick start tutorial on AME regexps here if you want to check it out. I don't mind you guys asking amongst each other for these things, but just note that I will most likely not respond to the requests. I will reserve the first couple of posts in this thread to periodically add user contributed patterns to import and for additional information (I hate mega long first post's in the release section). So check there for up to date information. nJoy Show Your Support
|
Comments |
#292
|
|||
|
|||
the Yahoo! Videos RegEx that was created does NOT work ... It plays the same video, no matter what URL you put, so for those who have that one installed, I would disable it by uncheking the "Active" option until a fix for Yahoo! Videos is released.
|
#293
|
|||
|
|||
Okay so I'm trying to work on the fix for Yahoo! Videos for AME, but I highly doubt it'll be possible to support Yahoo! Videos because we need two things in order to get the embed to work and display the video, but the URL's only provide one of those two things. Let me explain ...
URL is: Code:
http://video.yahoo.com/video/play?vid=744707&fr=&cache=1 Code:
<embed src="http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf" flashvars="vid=VIDEOvidHERE&id=VIDEOidHERE" type="application/x-shockwave-flash" width="425" height="350"></embed> We need to retrieve the vid= (which is 744707 for this example) and that's great and no problem as we can do that with RegexBuddy, but the other part we need is id=, which is not in the URL, so how can we get it? Any ideas? The id= information can be found on the Video's Yahoo! page under the <embed> code they provide in the "Add to Site:" section. Anyways, if anyone has a solution for this, then let me know cause if not, then Yahoo! Videos is out the question for this Hack. The only solution I can think of right now is for The Geek to add some more coding into the Hack so that the server will request the Yahoo! Video Page and find the contents of id=, then recreate the URL so it includes that information. - Danny PS. For DailyMotion it would be the same exact thing, it wont work unless we can get this Hack to request the Video Page and find the contents of the information needed that's not included in the URL already. |
#294
|
|||
|
|||
projectego,
Per your request, here is the GameTrailers RegEx ... Just import and it should work, let me know if anything :up: EDIT (7/19/2007): Re-uploaded and fixed ... Old one was not working properly. Attached the new version as seen here. |
#295
|
|||
|
|||
DiesellMinded, per your request ... here is FileCabi.net's RegEx File :up:
NOTE: Only problem is, that the videos AutoStart by default, I cannot seem to be able to get them to load as paused. Other than that, it works fine ... Enjoy! |
#296
|
||||
|
||||
Thanks A Ton , Our members just came across this site and they keep posting links !
lol Thanks Again DM |
#297
|
||||
|
||||
Great contributions Dannt, thanks for the work!
The pages ARE requested at parse time IF the option to resolve titles is on (and the server config allows it). I suppose I can try to come up with a way to extract the embed code... I just have to figure out how to impliment it as a standard feature. I suppose I could have an additional (optional) regexp for extracting page values. ANy other ideas? |
#298
|
|||
|
|||
No problem :up: glad to help ...
It would be awesome if you could make the additional regexp to extract the <embed> code from the page if the information is not included in the URL and have this be an Optional setting in the AME CP ... If you want, you could take a look at passiveVid's code as the author made it to request the information for Yahoo! Videos since they dont contain the id= in the URL. Let me know how that goes ... Thanks again for the support for this Hack ... Oh and the Sites that would require the use of this setting (from the ones requested so far) are: - Yahoo! Videos - DailyMotion.com - esnips.com |
#299
|
|||
|
|||
I think someone had requested this, so here it is ... Support for RealMedia Videos (.rm) and for Quicktime Videos (.mov) ... Enjoy! :up:
- Danny |
#300
|
|||
|
|||
I'm also seeing the warning in the logs:
PHP Warning: Call-time pass-by-reference has been deprecated - argument p assed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future version s may not support this any longer. in ....../includes/class_bbcode.php(181) : eval()'d code on line 7 |
#301
|
||||
|
||||
Thanks a lot :up: and i hope you make the one for the realplayer play the .ram also
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|