![]() |
Quote:
Quote:
Quote:
HTHs! |
the code in automediaembed_admin.php in line 2515 is :
PHP Code:
PHP Code:
cheers |
Thanks for that. Ill update for next release :)
|
Quote:
|
Quote:
you should use usort and make the custom comparing function to check the titles so it's ordered by name :) |
Quote:
|
Okay, you got me: I don't I understand how the Validation tool works. What is the RegEx checking for to determine if a video can be embedded or not?
Also, running this on my demo board, the default YouTube definition doesn't convert anything. It just turns videos into the little Film icon and nothing more. |
Updated package to 2.5.3
This is a minor update which solves the ksort error some have reported while importing and a bug where non validated media wasnt showing the link. Upgrade as normal :) |
Quote:
If the validation field has a value and extraction is on, then AME will scan the contents of the destination page for the existence of the validation field. If it finds the value, it is validated, otherwise not. For instance, the following regexp is actually part of the HTML input box that contains youtubes Embed code IF the video can be embeded. If not, this regexp won't validate because the input box actually says 'Embedding disabled by request' instead of the HTML needed to embed: Code:
value="http://www\.youtube\.com/v/([\w\-]*)?& HTHs :) |
Quote:
|
Okay, the first major thing I'm running into is, the non-embeddable videos are indeed converting to links, but the link doesn't go a valid URL. It seems to be using the title instead of the URL.
Example URL: http://www.youtube.com/watch?v=XZcG0...eature=related Converts: https://vborg.vbsupport.ru/ YouTube - Boyz II Men - End Of The Road URL: http://www.youtube.com/watch?v=jsd0pKGr2Os Converts: https://vborg.vbsupport.ru/ YouTube - The Jets - The Same Love Also, the source code in the default YouTube definition is no longer used by YouTube, so not all videos will load in that case. |
Hmmm. I made a couple tweaks to includes/ame_bbcode.php and repackaged. Replace that file and all should be tickity boo
|
That did the trick. Want to take odds on which thread will get the most people asking why the video didn't convert and is showing a little icon? :D
I do have one question, real quick. How does the validation tool know to look in the Embed Code box for a pattern? I'm curious how this will work for a site that keeps the embed code stored differently, or that put their embed code inside the flash player. |
All it is doing is looking for a match to that pattern in the destinations source code. I suppose if the embed code is being shown in a flash player, you would still be able to view it from the page source as a parameter for the object (unless of course the flash player is fetching it at run time). In that case, I don't really have a suggestion :D
|
I am running vBulletin version 3.6.8. I have not been able to get the embedded youtube to work in either version AME 2.0.2 or 2.5.3.
With AME 2.0.2 - it will display the normal youtube controls and video image, but when I click the play button it blanks out the image except for circle in the middle screen which just spins forever. So I decided to upgrade to 2.5.3, and now when I post a youtube link in a message I do not see anything, not even the the link. I have tried it with the extraction turned on and off. I am sure it isnt the video because I got it to play using BB code. I do get other video file types to work using AME such as wmv. I just don't know what to test anymore and was hoping for some suggestions. I would go back to 2.0.2 if that would be easier to resolve. |
Still sounds to me like an outdated version of Flash. Drop a couple URLs of ones you are having problems with.
Remember that if the embed code is there.... AME has done its job. Everything else is down to connections, etc... On an aside... have you tried posting the embed code from one of the problematic you tube pages into a post (you'll need to be able to post in HTML)? Try this: 1- Temporarily give yourself ability to post HTML 2- Make a thread with the link to a problematic youtube page and save it (let ame do its thang). Refresh that page, then view the page source. 3- disable ame 4- reply to the post above by pasting in the embed html from the problematic youtube page. Refresh and view source. Both sources for the youtube should be damn near identical and should perform the same. |
Going to upgrade to new version very nice add on this.
I have one question, I run a radio channel via a shoutcast server, streamed mp3, is it possible to have a definition to play these, i would have a bash but my codings way below this. Basically the stream would be www.yourshoutcastaddy.com:port/listen.pls http://217.114.215.203:8018/listen.pls this is my stream address as an example. Most use winamp maybe a winamp *.pls xml thanks for your great work makes the forum awesome |
Geek, I have one more question for you and then I'll leave you alone for a couple of hours at least. AME doesn't seem to like single quotes (') in a RegEx. I always get an error, but sometimes I really need the apostrophe to make matches to get ID numbers using extraction. I've tried the ampersand commands or just escaping them, but none of that has worked so far. Is there someway around this?
|
Can you please send out a Update-Mail at the next Time you are uploading Updates? Thank you.
|
If they are major updates I do.
DJ, PM me an example |
For some reason my youtube links aren't working anymore... anyone else notice this?
|
Quote:
Quote:
|
Quote:
|
Thanks for bringing up the single quote DJ. I had a heck of time figuring that one out as well.
|
Quote:
|
Sorry Geek, a I write so poorly to begin with, know next to nothing about coding or your work out side that I love it.
My problem now solved and also DJ in another post suggested a simple regex that would have nearly surely cured it as well was hosting on my local server and an example of the problem link was like: http://www.gladhatter.com/gladmusic/what's_myfav_song I first filled in spaces with %20 and then took them out and added undersores and then took them out and still no work. Finally I took out the <'> in the word "what's" and it picked it up and worked fine. Then I learn that in the set of code or what ever is is called had the <'> been added to the trim or ignore or what ever that module of it is called then it would have likely not been a problem at all. My coder set mine up for me and addmited he did not know much about the regex lib and would have to had studied it more to address all my concerns. He is extremly qualifed coder in the area's he works in however and is quite busy building some huge mods for the VBgallery we have installed and I did not wish to disturb him further from it and 6 other advanced coding projects we have him assigned to. So now that you are her and I have not yet found the sugar that DJ requires in his tea or coffee to get this one :) :),,,,And again the coder is flooded with 6 huge projects, and I am dying for one more site to work as it is not on local server and all my attempts and hours or work to make it were in vein would you consider adding or showing me what to add to make: http://www.wimp.com/farylsmith work. Please if you will as well admire the talent of this young gal that does not have any musicical interest that I would listen to but has talent that would make anyone wish her well. Thank and appologies in advance for the slightly ot. |
Thanks Glad, DJ gave some other examples and I was able to resolve the issue for the next release. Since its rare and Im out of town for a couple days, I'm holding off the fix till then.
Thanks again :) |
Pleasure is mine and while most of my forum is dedicated to the users as well as the AME portion, I think it is the part I truely cherish. I thank you for this code. Not sure if I sent you anything from Paypal as I have others but you can look for it now or again if I did or did not.
|
Works great,
Can you please tell me how can I have wider youtube videos in posts? here is an example http://www.musclemecca.com/showthrea...bs-41708.html? The video is wider then the regular videos I have in my board from youtube, why is that? Thanks. |
Quote:
|
Does anyone else have problems with this plugin taking an AGE to embed a video?
For instance, when I embed a youtube video in a new thread, it takes upwards of 20 seconds for the post to submit Any suggestions? |
DId AME 2.0 automaccally updated to 2.5 on my forum? It says "Version: 2.5" when i installed the 2.02
Also when i post i get this message: Warning: fetch_full_ameinfo([path]/amecache/findonly.php) [function.fetch-full-ameinfo]: failed to open stream: No such file or directory in [path]/includes/ame_bbcode.php on line 74 Warning: fetch_full_ameinfo([path]/amecache/findonly.php) [function.fetch-full-ameinfo]: failed to open stream: No such file or directory in [path]/includes/ame_bbcode.php on line 74 Warning: fetch_full_ameinfo() [function.include]: Failed opening '[path]/amecache/findonly.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/includes/ame_bbcode.php on line 74 |
I'm having issues getting my youtube links to embed automatically. It works fine when I enter a link using [ame]youtube link[/ame]. Posting other videos like gametrailers, photopost, and cnn videos autoembed with no issues.
I've removed the ame code, deleted/reuploaded all files, and uninstalled/reinstalled using rebuild with no luck. I'm not sure if it makes a difference but I'm using DJ's AME definitions. Any help is appreciated. |
Thanks for the great plug in. I have converted my old Goldbrick posts without issue. Awesome. Now for the problem. Before I had Goldbrick, I used an embedded thing that used the following as an example...
[YOUTUBE="Warrant - Uncle Tom's Cabin"]te1iSbyaR9I[/YOUTUBE] Well now, I tried converting it and it finds posts, but says "huh... no changes?" The posts it lists are correct, but it doesn't change anything Help? Thanks! |
How is it I've missed this for so long? My word...
|
Quote:
Quote:
Quote:
Quote:
|
Quote:
|
I'm having database issues after loading this. When I try to save my Usergroup settings it gives me database errors. What is happening?
This is the MySql error: MySQL Error : Unknown column 'ms_searchsocialgroups_permissions' in 'field list' |
Quote:
Not sure but I would like to suggest the problem may be with the < ' > single quote. |
Quote:
|
All times are GMT. The time now is 08: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|