View Full Version : Add-On Releases - DJ's AMEs :: Media Definitions for AME 3 (Beta)
Digital Jedi
09-26-2013, 10:00 PM
These media definitions are imported through your AME CP. That means you have to have AME 3 (https://vborg.vbsupport.ru/showthread.php?t=230707) installed in order to do that.
This is a Beta. I've tested this on my 4.0.3 installation. But I've experienced some weird issues, like the same URL not converting in post 1, but converting fine in post 12. I can only presume this is because of my older version of vB4. Please report the issues you have on newer versions of vB. Also note the AME 3 thread, for tweaks and changes people had to make depending on their version of vB4.
NOTE: I am still looking for anyone willing to lend me access to their demo board on vB4.1 or higher to test definitions, as well as a future version of AME 3. I will also be looking into, but not necessarily guaranteeing, that I can extend AME to vB5. But I have to take a look at how vB5 parses media to know if AME is even relevant on that system.
MEDIA DEFINITIONS
This is just a small set of definitions to test out functionality. Most everything here is tweaked, so just back up any custom defs you already have, and replace these to try them out. If everything goes smoothly, we'll expand from there.
CNBC
CNN
CNN 2
CollegeHumor
CollegeHumor (Legacy)
Dailymotion
Facebook
GameSpot (Part 1)
GameSpot (Part 2)
GameTrailers
Hulu
Metacafe
Photobucket (Direct Link)
Photobucket (Videos)
Storify
Twitter
Vevo
Vimeo
Youku
YouTube
YouTube (Playlists)
YouTube (Short URL)
NOTE: No, these will not work on AME 2.5. -_-
elnapotandil
09-27-2013, 10:27 PM
Great work! Thanks!!
tareqbd
09-28-2013, 05:19 AM
Seems interesting! can you please add some screenshots and procedure to install.
tbworld
09-28-2013, 05:23 AM
Great work @Digital Jedi, I am going to try out AME3 this weekend. My daughter will love it! :)
I know AME3 has been out awhile, but I have not had the need for it untill now. This will definitely help her implement it.
I will be testing it on v4.2.0, v4.2.1. I will report back the interesting stuff.
Digital Jedi
09-28-2013, 02:32 PM
Seems interesting! can you please add some screenshots and procedure to install.
I plan on adding some screenshots a little later. Hopefully today. Procedure to install is explained in the first post.
Great work @Digital Jedi, I am going to try out AME3 this weekend. My daughter will love it! :)
I know AME3 has been out awhile, but I have not had the need for it untill now. This will definitely help her implement it.
I will be testing it on v4.2.0, v4.2.1. I will report back the interesting stuff.
Thanks. Haven't had a chance to test on anyone's 4.1 or 4.2 installations.
Ross L
09-29-2013, 02:00 PM
Excellent, thanks!
Any chance of support for Heartthis.at (http://hearthis.at/chocomang/beads-this-afternoon-humble-soul-vs-nickelback/)?
Any chance of a fix for the twitter definition? Currently, just ends up as a blank post. I was excited to see it (been looking and trying myself to implement a plugin that converts full twitter URLs to embedded tweets w/ no luck) and it's really the reason I installed AME3 and the definitions... only to find out, it no worky.
Digital Jedi
10-05-2013, 09:28 PM
Any chance of a fix for the twitter definition? Currently, just ends up as a blank post. I was excited to see it (been looking and trying myself to implement a plugin that converts full twitter URLs to embedded tweets w/ no luck) and it's really the reason I installed AME3 and the definitions... only to find out, it no worky.
Let me see the thread where you've tested this in, if you don't mind.
I tested Twitter just now, and it seems to be working as intended:
https://www.diigo.com/item/p/pebbaazbrcqsqesbzbbosoosa/312beb57e09ccbb533b410cfcea4b546
However, I think the problem you and some other have experienced is with Twitter's API usage limits. I can't remember how many requests are limited per domain, but it might be a lot of the time, and particularly if you have other Twitter plugins running on your site, that this could be you just running into your limit.
Also remember, this is JavaScript embed code. And as always, you won't see the JavaScript if posted via AJAX (quick reply and inline editing). But everyone else will, and you'll see it when you refresh the page.
Digital Jedi
10-06-2013, 03:46 AM
Any more feedback so far? It seems Twitter is susceptible to any invalid HTML in your source code, which is why it seems to be working for some and not others (that includes the various BBCode mods out there.) But how about the other sites on the list? Anyone run into any issues so far?
elnapotandil
10-06-2013, 03:59 AM
The ones I've tried so far, works perfectly.
Sorry for my english...
I got it working now, was a bb_videocode template issue. Thanks for your help, DJ.
Digital Jedi
10-07-2013, 05:56 PM
I got it working now, was a bb_videocode template issue. Thanks for your help, DJ.
Glad you got it sorted out. I had forgotten that JavaScript is temperamental when it comes to the rest of the code on your webpage. If anyone else is having problems with Twitter, be sure to run a validation check on your forum for any HTML errors.
If no one else is having issues, then I'll start working on expanded BETA set. If no one has issues with that one, I'll take it out of BETA for the following update.
SPEEDKILLZ
10-08-2013, 03:52 PM
I installed ame3 on my 4.2.1 do i need to install this as well?
Digital Jedi
10-08-2013, 05:02 PM
I installed ame3 on my 4.2.1 do i need to install this as well?
If you want AME support for the websites listed, or the ones that aren't up to date within AME 3, then yes.
SPEEDKILLZ
10-08-2013, 06:43 PM
If you want AME support for the websites listed, or the ones that aren't up to date within AME 3, then yes.
Thank you. two questions. After installing AME3 on my site when i post a lnk it dosent work> Do i need to do something else? And when i try to upload this file via plugin manager is reads "non existing file"
Digital Jedi
10-08-2013, 07:42 PM
Thank you. two questions. After installing AME3 on my site when i post a lnk it dosent work> Do i need to do something else?
Probably an outdated definition within AME 3.
And when i try to upload this file via plugin manager is reads "non existing file"
Ah, there's a reason for that. ;)
These media definitions are imported through your AME CP.
SPEEDKILLZ
10-09-2013, 12:26 AM
Probably an outdated definition within AME 3.
Ah, there's a reason for that. ;)
OK i reuploaded files and then imported this thru amecp and still not auto embedding? Any more suggestions? Thank you kindly
Digital Jedi
10-09-2013, 01:05 AM
OK i reuploaded files and then imported this thru amecp and still not auto embedding? Any more suggestions? Thank you kindly
What version of vB4 are you on? What URLs are you trying to embed? Is AME's file cache enabled? Are you editing existing posts, or posting new ones? Any additional information you include can help me troubleshoot.
SPEEDKILLZ
10-09-2013, 02:11 AM
What version of vB4 are you on? What URLs are you trying to embed? Is AME's file cache enabled? Are you editing existing posts, or posting new ones? Any additional information you include can help me troubleshoot.
VB4.2.1, youtube url's, tried enabled and cache not enabled, new post. thank you
Digital Jedi
10-09-2013, 03:19 AM
VB4.2.1, youtube url's, tried enabled and cache not enabled, new post. thank you
I mean, I need to see the URLs, so I can test them on my installation. In the AME 3 thread, look through the first few pages. For your version of vB, you have to change the hook location of one of your plugins. I forget which one, at the moment. But it's easy enough to change it until the new version is released.
SPEEDKILLZ
10-09-2013, 03:25 AM
ok i will see what i can find. thank you
links such as http://www.youtube.com/watch?v=UrgpZ0fUixs
SPEEDKILLZ
10-09-2013, 03:36 AM
ok so it does not auto embed? if i add url is works
SPEEDKILLZ
10-09-2013, 03:40 AM
also should cache be on or off?
Digital Jedi
10-09-2013, 11:35 PM
also should cache be on or off?
Cache will help speed up the process of embedding videos, and save some system resources. It's optional. I just need to know when it's on depending on the questions raised.
Did you find the post mentioning the hook change?
SPEEDKILLZ
10-10-2013, 12:23 AM
Cache will help speed up the process of embedding videos, and save some system resources. It's optional. I just need to know when it's on depending on the questions raised.
Did you find the post mentioning the hook change?
OK, No sir i did not. I actually just loaded another plugin until i can figure out what the problem is with this one. Any help would be greatly appreciated. I really like this mod.
Digital Jedi
10-10-2013, 02:23 AM
OK, No sir i did not. I actually just loaded another plugin until i can figure out what the problem is with this one. Any help would be greatly appreciated. I really like this mod.
I haven't gotten into real depth with that particular product yet. But I intend to after I release my own version of AME 2.5.7. I also intend to do my own release of AME 3, but I'll need to do a little more research on that one. I'm sure there's a number of posts in the AME 3 thread explaining what to do with the hook change, but they appear to be spread out. So it will take some time before I fully understand what changed between the different versions and AME 3's release that cause the disparate types of file edits.
But like I said before, If anyone is willing to lend me access to their demo board for Beta testing my own AME 3 release, I can try and sort the issues out with it on vB 4.1 and 4.2. Right now, I only have my copy of vB 4.0 to work with.
Hook posts:
Code edit:
https://vborg.vbsupport.ru/showpost.php?p=2019974&postcount=608
Plugin edit:
https://vborg.vbsupport.ru/showpost.php?p=2164682&postcount=1002
Here's a little contribution that you can include in your definitions if you'd like DJ.
ESPN Video definition that I finally worked the kinks out of, tested and working:
Tagoption: espn
URL: espn.go.com
Regex: https?:\/\/espn\.go\.com\/video\/clip?.id=([a-z0-9-_]+)
Embed: <script src="http://player.espn.com/player.js?playerBrandingId=4ef8000cbaf34c1687a7d9a 26fe0e89e&adSetCode=91cDU6NuXTGKz3OdjOxFdAgJVtQcKJnI&pcode=1kNG061cgaoolOncv54OAO1ceO-I&width=576&height=324&externalId=espn:{vb:raw code}&thruParam_espn-ui[autoPlay]=false&thruParam_espn-ui[playRelatedExternally]=true"></script>
katie hunter
10-14-2013, 12:00 PM
When i did an import, the youtube short url isn't getting imported, it says this
"You cannot import this definition as its tagoption is invalid."
It works i think so far, but i can't import the short youtube url. Also i think i need to rebuilt my posts so it removes the ame tag and replace it with video tag, right ?
Digital Jedi
10-14-2013, 03:53 PM
When i did an import, the youtube short url isn't getting imported, it says this
"You cannot import this definition as its tagoption is invalid."
It works i think so far, but i can't import the short youtube url. Also i think i need to rebuilt my posts so it removes the ame tag and replace it with video tag, right ?
If you're upgrading from AME 2.5, yes. Since default vB doesn't the parsing in AME 3. I'm not certain why the Short URL wouldn't import. The tagoption should be perfectly valid. But you might want to crack open the XML and see if it downloaded fully. Or copy and paste the content of it into a newly created def. It should be importing, though.
katie hunter
10-14-2013, 07:57 PM
I think it is because it has a .be you know like it is not one name like youtube.
But i just reinstalled the xml and used the one that comes originally with AME 3 :0)
DemOnstar
10-15-2013, 12:32 PM
When i did an import, the youtube short url isn't getting imported, it says this
"You cannot import this definition as its tagoption is invalid."
It works i think so far, but i can't import the short youtube url. Also i think i need to rebuilt my posts so it removes the ame tag and replace it with video tag, right ?
I have the same issue...
I deleted all the other dupes and did the import and all bar this one went in...
It does seem you have spent a lot of time and energy on this mod and I am sure that the mod community appreciate your efforts... Not sure if it works yet but will get back...
Thanks..
EDIT:
Slight confusion on file upload also.. Within includes/xml/product-ame.xml, I am assuming that product-ame.xml doesn't get uploaded via FTP and is imported through plugins and products..
Thanks again..
Digital Jedi
10-15-2013, 03:58 PM
I have the same issue...
I deleted all the other dupes and did the import and all bar this one went in...
It does seem you have spent a lot of time and energy on this mod and I am sure that the mod community appreciate your efforts... Not sure if it works yet but will get back...
Thanks..
EDIT:
Slight confusion on file upload also.. Within includes/xml/product-ame.xml, I am assuming that product-ame.xml doesn't get uploaded via FTP and is imported through plugins and products..
Thanks again..
If you're talking about AME 3 itself, then I believe The Geek left instructions on where to find the product XML. He wanted everyone to read the instructions carefully before installing.
Digital Jedi
10-15-2013, 04:25 PM
|[Minor Update|]
Updated YouTube (Short URL) and removed the . from the <tagoption>. Apparently, it saved fine on my installation. But is not a valid character for a tag option, so that's probably why some of you were getting import errors.
DemOnstar
10-15-2013, 04:54 PM
Ok...Seemed to have gone in...
Very good DJ...Very active and quick to respond...
I am not even sure what a short url is but I am overly impressed by your spirit and passion...
And the humour in the UI and read me files...
Great work sir......
Nominated.....
Digital Jedi
10-15-2013, 05:03 PM
Ok...Seemed to have gone in...
Very good DJ...Very active and quick to respond...
I am not even sure what a short url is but I am overly impressed by your spirit and passion...
And the humour in the UI and read me files...
Great work sir......
Nominated.....
Thanks.
Short URLs are the shortened links YouTube provides in the share features. For instance:
http://www.youtube.com/watch?v=ZT2z0nrsQ8o
Will have the short link:
http://youtu.be/ZT2z0nrsQ8o
It's the default share option on YouTube, so people sharing videos they found on Twitter or in text messages will likely be in this format.
DemOnstar
10-15-2013, 05:10 PM
Marvelous!
Thanks for clearing that up..
I am living in China most of the time and as you may know already, youtube is not available.
Options for youku and www.56.com only..
Thanks again...
Digital Jedi
10-15-2013, 05:25 PM
That's one of the reasons I went ahead and included Youku in this Beta set. I wasn't familiar with 56. I'll bookmark that as a site for potential development, unless someone beats me to it.
DemOnstar
10-15-2013, 05:33 PM
It appears that you have all the angles covered...
http://www.funshion.com/ is another popular site in China but i think it is mainly for movies..
Not sure really, can't understand most of it but used it once or twice..
katie hunter
10-16-2013, 03:54 PM
XD
DJ is there a way to import these site to the new AME 3 ? https://vborg.vbsupport.ru/showthread.php?t=188970
DemOnstar
10-16-2013, 05:02 PM
Are you importing them through admincp or AMECP?
Digital Jedi
10-16-2013, 06:57 PM
XD
DJ is there a way to import these site to the new AME 3 ? https://vborg.vbsupport.ru/showthread.php?t=188970
They're very differently constructed. DS has said he'll convert them. Maybe. You just never know. I can't convert them because my workstation is a bit too public.
katie hunter
11-19-2013, 06:07 PM
Hi DJ (: can you please add askmen video embed. It is one of the popular sites.
ex http://www.askmen.com/sports/foodcourt_700/719_best-breakfast.html
Same with ign http://www.ign.com/ they use the same format since askmen is by the creator of ign
sticky
01-30-2014, 05:52 AM
Can anything be done about mobile youtube links like this?
http://m.youtube.com/watch?gl=US&hl=en&client=mv-google&v=derzWWYf3-w
sticky
01-30-2014, 05:54 AM
How exactly does the twitter embedding work? How do you link to the tweet?
sticky
01-30-2014, 06:35 AM
Ok I figured out how to link the tweets but why do the embedded tweets not center using the [ center ] commands?
Digital Jedi
02-01-2014, 02:53 PM
Can anything be done about mobile youtube links like this?
http://m.youtube.com/watch?gl=US&hl=en&client=mv-google&v=derzWWYf3-w
Probably. I'll look at the YouTube definitions again on my next update.
Ok I figured out how to link the tweets but why do the embedded tweets not center using the [ center ] commands?
They're generated by Twitter's JavaScript, so it may not be something you can control. You can, instead, try centering the DIV in the replacement code to see if that works.
jimsflies
02-01-2014, 03:37 PM
I can't seem to get a photobucket video to embed.
MikesSite
03-19-2014, 07:29 PM
Can someone please help me with Flickr videos and Flickr slideshow videos?
Thanks.
Digital Jedi
03-20-2014, 08:00 PM
Can someone please help me with Flickr videos and Flickr slideshow videos?
Thanks.
The last time I worked with Flickr (and note, that I've had to frequently update AME 2.5 definitions for Flickr) the problem I ran into was their URLs strings for videos and photostreams were identical. And that was the problem. URL strings for different media types need to have at least on unique identifying pattern (even it's just in the HTML code) so AME can tell that one URL needs to convert to a video and another needs to convert to a slideshow. With Flickr, when I worked with it in October, the best I could do was create one that detected video. However, despite my best efforts, any definition I created to embed a slideshow would try to convert video URLs, too. You can imagine the weird Frankenstein embeds I got with that. Even with the video definition turned off, the slideshow def would still try to embed video URLs.
I'll probably add Flickr to the next set of updates for AME 3, but note that it will be video only. Unless Flickr has made, yet another, change to their website, then slideshows won't be in this set. I usually try not to release definitions that don't work the way they should. But we'll see what I can come up with.
MikesSite
03-24-2014, 03:51 PM
The last time I worked with Flickr (and note, that I've had to frequently update AME 2.5 definitions for Flickr) the problem I ran into was their URLs strings for videos and photostreams were identical. And that was the problem. URL strings for different media types need to have at least on unique identifying pattern (even it's just in the HTML code) so AME can tell that one URL needs to convert to a video and another needs to convert to a slideshow. With Flickr, when I worked with it in October, the best I could do was create one that detected video. However, despite my best efforts, any definition I created to embed a slideshow would try to convert video URLs, too. You can imagine the weird Frankenstein embeds I got with that. Even with the video definition turned off, the slideshow def would still try to embed video URLs.
I'll probably add Flickr to the next set of updates for AME 3, but note that it will be video only. Unless Flickr has made, yet another, change to their website, then slideshows won't be in this set. I usually try not to release definitions that don't work the way they should. But we'll see what I can come up with.
Thanks for taking the time to respond to me. Will keep my eyes out for the update in AME 3 and in the meantime if you would like to share how you were able to detect at least the video then that's a good start for me :)
Digital Jedi
06-03-2014, 07:19 PM
I'm sorry I got away from this, guys. My mother-in-law went into hospice and passed all within a month's span. We're just getting done with things, so it will be a moment until I'm back on my game again.
MikesSite
06-03-2014, 08:33 PM
I'm sorry I got away from this, guys. My mother-in-law went into hospice and passed all within a month's span. We're just getting done with things, so it will be a moment until I'm back on my game again.
Very sorry for your lose, I send my condolences.
rootsxrocks
07-31-2014, 04:28 AM
Thank you for the update, and thank you for all the work you have done.
Alan_SP
04-11-2016, 03:54 PM
Provider: Vidme
Tagoption: vidme
URL: https://vid.me
Regex URL: https:\/\/vid\.me\/([a-z0-9]+)
Regex Scrape:
Embed:
<iframe src="https://vid.me/e/{vb:raw code}" frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen scrolling="no" height="400" width="660"></iframe>
Priority: 0
____________________
Of course, some parameters can be of your own choosing (provider name, tagoption, height and width of iframe).
kether1
06-26-2016, 02:20 PM
sendvid.com is one I would like to include, but cannot figure out the REGEX URL information.
The embed Iframe is:
<iframe width="560" height="315" src="https://sendvid.com/embed/{vb:raw code}" frameborder="0" allowfullscreen></iframe>
Any help?
Thanks,
K
Alan_SP
06-29-2016, 03:14 PM
You should post some example link, so we know what info is used in video identification.
https:\/\/sendvid\.com\/embed\/([a-z0-9]+)
This should work if they use numbers and letters. But, there could be also special chars. Or just numbers, or just letters... Or even different link, I used link from embedding code, but site can use different links (YouTube does that, has multiple link type that link one video).
bmwfans
09-14-2016, 12:28 PM
Provider: Vidme
Tagoption: vidme
Great Alan! thank you for the Vidme definition.
I was trying to make local files (pdf and word) like in vbulletin 3.8 with DJ Ame 2.5, but with no result using the following:
Provider: Documents
Tagoption: Documents
URL: http://myforumdomainurl
Regex URL: https?://(?<Domain>[\w\.-]+)\.(?<TLD>[\w]{2,6})/(?<Directory>.+)\.(?<Extension>pps|pptx|ppt|pdf|docx|doc|txt|pages|xlsx|xls|xps)
Regex Scrape:
Embed:
<iframe src="http://docs.google.com/viewer?url={vb:raw code}&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>
Priority: 0
Any suggestions?
Thank you!!!! :)
lacidious
03-22-2018, 02:48 AM
Hey all, my twitter recently stopped embedding ....did they change something? Anyone have a working one? Thanks!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.