![]() |
I have just uploaded AME 2.5.5 to address a couple of minor issues. Mainly surrounding editing of existing AME links that contain brackets inside the name. This could (in rare cases) also affect posts with multiple media URLs in them.
I also added another hook to extend additional functionality for media that fails to validate (i.e. a youtube link that doesn't allow external embedding). I do not currently have plans to extend this area further than I have done, but its there :) Files changed:
I have also updated the ame_nomedia template to add the phrase 'External Embedding Not Available' as the title to the link. This appears if the definition does not validate along with an icon. If you want to make it more obvious to the user that AME is working, but the video won't embed, I suggest playing with that template (or use the new hook). To upgrade: Download the latest package Unzip and upload the contents of the upload/forums folder into your own forums folder (be sure to upload ALL the files and folders choosing to overwrite existing files). Import the product_ame.xml file into your admincp product system (choosing to overwrite existing version) |
Quote:
If only using the default youtube definition and you only want youtube videos with hd=1 in the URL to be a larger size, then just create a new plugin: Hook Location: automediaembed_parse_bbcode_match_start Title: Youtube HD Bigga Please Code: PHP Code:
What this will do is check the definition key and the zone you are in. If the matching definition key is youtube and the zone is post, then it will check the URL for hd=1 (which is my understanding of how youtube marks HD URLs. It then overrides the zones size. I am sure you can get even more creative :) Anyhoo, hope this helps! |
Quote:
|
Quote:
1- Untick the option to parse links in text 2- Untick the 'Automatically embed media' option when posting Hope that helps! |
Quote:
Quote:
[http://]*[a-z]*?[\.]?youtube\.[a-z]*?/watch\?v=([A-Z0-9._%-]*)[&\w;=\+_\-]* Will not match http://www.youtube.com/v/XXXX-XxXXxxX Nor should it because http://www.youtube.com/v/XXXX-XxXXxxX in an address bar will not take you to a video as it is the movie object address. When AME validates, it uses value="http://www\.youtube\.com/v/([\w\-]*)?& Because that is the HTML that is in the source when the embed URL is present on the page. Otherwise it isn't there and instead 'Embedding disabled by request' or whatever. I have tested this pretty throughly and while bugs in anything are inevitable, I am confident that the default install works as intended. If you are using custom or new definitions, that could be the culprit. |
Quote:
|
Quote:
HTHs! |
updated.
Break.com ESPN and AOL video are still NOT working:confused: |
Just FYI Geek, theres an error in the version checking of this modification
|
Quote:
|
All times are GMT. The time now is 07:29 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|