AME 2.0 is the next version of the "Mod of the Month" winning media embedder that:
Allows user to simply 'paste' in a URL (i.e. a youtube link) without needing to know any special tags. However instead of displaying just the URL, it will show the media within the post
is lightweight as it does all of her chores without the overhead of having 1 bbcode per pattern or trying to parse a post every single time it gets displayed with a bunch of patterns. AME radically reduces overhead and speeds up processing. The only time ame will kick in is after creating a new post or after editing an existing one (or if an ame tag is found)
is extensible. She allows you to add, edit, delete, import and export patterns. That way you can decide which services to support, how they should look and then share them with others! At time of typing this, there are over 150 media sites that have been contributed by vBulletin.org members
can extract the title (requires your server to allow url wrappers with fetch_contents)
can extract embed code from sites whose URLs do not contain sufficient information to embed the video
can rebuild your old posts to convert your 'other' mediaish tags into URL tags.
can rebuild your old posts, blogs, comments, visitor and social group messages to convert URL tags into ame tags where needed
can convert her codes BACK to url codes so you're not stuffed with a bunch of dead tags if you uninstall!
won't uglify your site by having videos appear in quotes, php, code or html blocks (blech!)
can be globally disabled
can be excluded from forums
can exclude usergroups
can be toggled on/off per post, blog, comment, visitor and social group message
would cook dinner for you if she had arms
can wrap the output in a 'container' with original URL
has a super comprehensive admincp help system. Yes, I actually took the bloody time to add all the info you need into vB's admincp help system. If you ask a silly question in this thread that is addressed in the help system, you will be taunted.
is fully phrased
has hooks around integral operations so you can extend it
Supports embedding in vbBlog, Visitor Messages and Social Groups.
Can be disabled in one or more of the following sections: Posts, vbBlog, Visitor Messages and/or Social Groups
Apart from the additional areas of support around vbBlog, Visitor Messages and Social Groups, little has changed about AME since version 1.0 released over a year ago. I cleaned up a few minor bugs, trimmed and updated the default definitions.
Which sites are supported?
At time of counting this, there are about 170 sites supported. But I have only included a few common standards as default (yahoo, youtube, myspace, google and Amazon). Why only these? AME was designed with its own import and export system that enables users to create or modify definitions and share them with the community. This keeps the system lightweight, customisable and saves us all from having to upgrade every time a media site changes their URL structure or if I add another site.
Check out the 'add ons' section of this post below to see availible add-ons.
Installation/Upgrade
Upload the contents of the forums folder into your forums directory and import the product-ame.xml file into your product manager (if upgrading, choose 'yes' to overwrite previous installation).
After installation, make sure that the system is on (admincp->AME CP->Settings)
Then you may want to try to rebuild old URLs via the tools option.
Big thanks goes out to all those in the community that have supported this mod. Especially Digital Jedi Who has created about 155 definitions for this system alone!
Change Log
2.0.2 - fixed added slashes in quote blocks (DoH!), vm advanced error and incrimented product version. You need to replace include/ame_bb_code.php and re-import the product-ame.xml to upgrade
2.0.1 - fixed missing backslashes in code blocks
2.5 Pre-Release information
Attached to this post is pre-release of version 2.5
2.5 is a pretty major upgrade from the 2.0 series and adds the following functionality to 2.0:
New in Beta 3 - Validation ability. This will help prevent media being embedded that can not be embedded (i.e. youtube videos that the author has stipulated can not be shown off of youtube). This option requires the extraction option to be turned on and a valid validation regexp. I have included one in the default youtube version. When a video on you tube gets embedded, but the author doesnt allow embedding, a link (with icon) is shown instead.
Ability to prevent non authorised usergroups from viewing (see Readme file in zip for more info)
Usergroup permissions (edit usergroup to adjust edit/view permissions)
Template driven system - uses templates now instead of 1 master replacement (see Readme file in zip for more info)
Signatures supported
Different sizes and template configurations for each supported zone (posts, blogs, groups, visitor messages and signatures)
A couple new hooks (Mainly to support a future add on for AME media in profiles)
Notfication system (similar to vB's to check for errors)
Definition keys for easier updating of definitions and to use in templates
File caching system which radically reduces processing
And more that I cant think of off the top of my head!
Note that while previous definitions will work with the new system, they will not be sizeable by zone. Since DJ helped with the private beta testing, I am sure he will be releasing 2.5 versions of his definitions soon.
Please note that 2.5 is a pre-release so there will be issues. If you want more stability, use 2.x until this version becomes gold FWIW: The only items currently outstanding are to add some missing admincp help. The rest is working as intended as far as I can tell
nJoy
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
A definitions for The Funny Stuff would have to made first. I'll add to the list of sites to look at, but it will be a while before I do another update.
Did you upload the contentsof the forums folder to your forums directory, or did you just put the entire folder there? The reason it's called forums is because most folks have their forum located in a folder called forums. Whatever folder you keep your forum in is your forum's root directory. So that's where the contents of the forums folder should go.
Sorry I didn't get back to this before...are you saying that the "admincp" folder goes in the "admincp" in my forum directory, the "images" in "images" and "includes" in "includes"? Forgive me...I'm very clueless when it comes to this. I had assumed that you needed to put the entire forums folder into the forum directory as a whole.
How would I go about adding custom text to the container. I would like to add a link saying something to the affect of "Video not playing? Try updating your Flash player Here:". How would I go about doing that? Thanks.
A definitions for The Funny Stuff would have to made first. I'll add to the list of sites to look at, but it will be a while before I do another update.
Thanks DJ. I'll keep an eye on this. My members frequent The Funny Stuff alot and are always wanting to post a video from there.
Sorry I didn't get back to this before...are you saying that the "admincp" folder goes in the "admincp" in my forum directory, the "images" in "images" and "includes" in "includes"? Forgive me...I'm very clueless when it comes to this. I had assumed that you needed to put the entire forums folder into the forum directory as a whole.
the contents of the admin cp folder gets uploaded into the admincp folder, and so on.
Sorry I didn't get back to this before...are you saying that the "admincp" folder goes in the "admincp" in my forum directory, the "images" in "images" and "includes" in "includes"? Forgive me...I'm very clueless when it comes to this. I had assumed that you needed to put the entire forums folder into the forum directory as a whole.
No, just the forums folder's contents go into your forums directory. The reason your seeing an admincp folder, an images folder and an includes folder in the upload folder is because that's the way your forums is structured. In other words, everything in the upload folder is structured the exact same way it would be on your forums. So you only upload everything in one fell swoop.
Just think of it this way, if the contents of a folder say:
admincp
images
includes
etc.
Then you need to add those contents to the folder on your server that says the same thing:
admincp
images
includes
etc.
That way everything goes where it's supposed to.
Quote:
Originally Posted by mikewastaken
does anyone know if this supports break.com or collegehumour.com videos?
and if so, how to properly embed them?
Look for the Add-On link at the bottom of the first post.
Quote:
Originally Posted by Rickways
Hello,
Sorry for my english but i'm french.
I have on my website a lot of mp3 create by the members.
I'd like to automatticaly embed them with dewplayer (a flah player mp3)
It is possible ?
How to do this ?
The dewplayer use code like this:
<object type="application/x-shockwave-flash" data="dewplayer.swf?mp3=test.mp3" width="200" height="20">
<param name="movie" value="dewplayer.swf?mp3=test.mp3" />
</object>
How would I go about adding custom text to the container. I would like to add a link saying something to the affect of "Video not playing? Try updating your Flash player Here:". How would I go about doing that? Thanks.
- Jake
If I'm not mistaken, that should happen automatically when a person's flash player is not up to date. But you can add the text to the container HTML. Depending on which version your using it will either be under Settings or will be part of the ame_container template as in 2.5.
Quote:
Originally Posted by Ohiosweetheart
Thanks DJ. I'll keep an eye on this. My members frequent The Funny Stuff alot and are always wanting to post a video from there.
Be sure to subscribe to, tag or download the definitions from my Add-On thread so you'll be automatically informed.
If I'm not mistaken, that should happen automatically when a person's flash player is not up to date. But you can add the text to the container HTML. Depending on which version your using it will either be under Settings or will be part of the ame_container template as in 2.5.
Thanks DJ. The reason I bring it up is a couple of Beta Testers on my test forum had a heck of a time trying to figure out why it was not working. It was only after clicking on the title of the video and going to the video host website that they were told they needed to update flash. If a simple link to upgrade flash was in the container, it might clue them into why they can't see the video. I'll play around with editing the container. Anyone else need the same thing? Ideally a replacement of the red X image (see attachment) with an image asking them to update their flash player. Is that a possibility or is there no way for AME to know when it's not playing for a user because they don't have Flash?