vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest... (https://vborg.vbsupport.ru/showthread.php?t=195884)

Digital Jedi 12-23-2009 05:12 PM

Well, this is disappointing. Crave Online completely nerfed any compatibility with their embed code and AME.

Digital Jedi 12-24-2009 12:39 AM

Dailymotion will be okay, except your older videos from a year or so ago will show up blank. They changed they're URL structure a bit.

gnosisprod 12-25-2009 08:58 PM

Does anyone think it will be worth it to post something in the other section of the forum for paid mods to have someone work out a definition for flv files for AME? I'm willing to even put it up for free afterward, I really need this feature.

Nadeemjp 12-26-2009 08:40 AM

DJ, i desparately and humbly request you to please work on the definitions for vb4:(

MagicThemeParks 12-26-2009 03:09 PM

Quote:

Originally Posted by original'as (Post 1908730)
Nobody managed to fix blip.tv definitions?


Code:

Parse error: syntax error, unexpected '(' in /var/www/vhosts/topzone.lt/httpdocs/forumas/includes/ame_bbcode.php(323) : regexp code on line 1

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_match(&quot;http://blip.tv/file/946401/&quot;, &quot;&quot;, 1, &quot;~[\s]+player\.setPostsId\(([\d]+)\);[\s]+player\.setUsersId\([\d]+\);[\s]+player\.setUsersLogin\(&quot;([\w-_]+)&quot;\)~sim&quot;, &quot;&quot;,$ameinfo) in /var/www/vhosts/topzone.lt/httpdocs/forumas/includes/ame_bbcode.php on line 323


No fix for Blip.tv yet?

Digital Jedi 12-26-2009 03:44 PM

Quote:

Originally Posted by gnosisprod (Post 1938214)
Does anyone think it will be worth it to post something in the other section of the forum for paid mods to have someone work out a definition for flv files for AME? I'm willing to even put it up for free afterward, I really need this feature.

You could try it. I haven't looked into it yet because I'm trying to correct the main set of definitions first, but from what I've looked at, as I understand it, it will require the use of your own video player, like the JW.


Quote:

Originally Posted by Nadeemjp (Post 1938480)
DJ, i desparately and humbly request you to please work on the definitions for vb4:(

I don't have vB4 and probably wont for a while. I'll still convert my existing set, but I'm waiting on The Geek to let me know how to do that, and I'm thinking he want's to track down this error some people have been getting with AME 3, before we get into adding hundreds more variables to the equation.


Quote:

Originally Posted by MagicThemeParks (Post 1938659)
No fix for Blip.tv yet?

Yes, I'll have a fix most likely in the next update.

Digital Jedi 12-26-2009 06:02 PM

Should have a correction to the Flickr Sideshows problem in the next update. However, FlowTrack is not cooperating and is not looking good.

Digital Jedi 12-26-2009 06:55 PM

Perhaps I spoke too soon. Flowrestling and FlowTrack are back on, er, track. There will just be an issue with older videos from Flowrestling not having any content and YouTube imported videos will not embed.

SilabGarza 12-27-2009 12:38 AM

so wait
wtf does it do?

if i post a youtube link, it'll show as the youtube video?

Digital Jedi 12-27-2009 04:34 AM

Quote:

Originally Posted by SilabGarza (Post 1939048)
so wait
wtf does it do?

if i post a youtube link, it'll show as the youtube video?

That's what AME does, yes. This is not AME, though. These are the definitions for AME.

Scitz0 12-28-2009 09:05 AM

Hi,

Its been a long time since I checked this thread out but I know DJ still does a great job updating the definitions. So I was planning on upgrading all my definitions to the latest version. I can see though that it still say "Last Update: 10 Mar 2009" at the top. How do I get hold of all updated definitions? Installed the master xml 6 month ago. Do you have an updated master xml so I can just wipe all definitions I have and reimport a new xml will all definitions?

Digital Jedi 12-28-2009 08:31 PM

Quote:

Originally Posted by Scitz0 (Post 1940199)
Hi,

Its been a long time since I checked this thread out but I know DJ still does a great job updating the definitions. So I was planning on upgrading all my definitions to the latest version. I can see though that it still say "Last Update: 10 Mar 2009" at the top. How do I get hold of all updated definitions? Installed the master xml 6 month ago. Do you have an updated master xml so I can just wipe all definitions I have and reimport a new xml will all definitions?

The Master XML gave off an error during import with the last 2.5 version of AME., so I'm having to go through each one, one and a time, and update them. With over 200 defs, it's going to take me a little while longer.

Digital Jedi 12-28-2009 08:33 PM

On a side note, it looks like I got a definition for Google Maps working.

MonkYZ 12-28-2009 11:06 PM

Is there any chance for gametrailers to work again ? I have hundreds of users trying to "kill" me because it's not working anymore :D

P.S. Also, YouTube videos don't have the FullScreen button anymore... Is there a way to fix that ? I see inside the definitions it still has the "<param name="allowFullScreen" value="true">" but it doesn't work...

Digital Jedi 12-29-2009 12:12 AM

I just updated GameTrailers yesterday. Will release as part of a larger update this week, possibly. I'm only to the H's in the list so far, but I will likely find a stopping point somewhere and do a partial release, as well as skipping a few letters to take a look at YouTube, too.

greenflag 12-30-2009 02:04 AM

rss feed question - i want to import video rss feeds into vb using the vb rss importer. how could i get each video to embed as a post - instead of the thumbmail that links to video on remote site?

i want each video in feed to embed as own post

Digital Jedi 12-30-2009 06:53 AM

Quote:

Originally Posted by greenflag (Post 1942092)
rss feed question - i want to import video rss feeds into vb using the vb rss importer. how could i get each video to embed as a post - instead of the thumbmail that links to video on remote site?

i want each video in feed to embed as own post

Usually the {rss:link} variable is the direct link to the video page. In most cases wrapping it in AME BBCode takes care of the embedding for you.

Code:

[AME]{rss:link}[/AME]

Digital Jedi 12-30-2009 06:57 AM

Okay guys, Leet Tube.com was changed to GotGame.com somewhere along the line. GotGame will not be able to be supported, as the embed code is unworkable. If they want to have 10,000 characters in they're embed code, that's they're business. But I can't reference what isn't in the HTML in whole or even in part. And I'll only hunt for it for so long.

greenflag 12-30-2009 11:54 AM

thx for fast reply - tried it and on rss preview getting this error;

XML Error: not well-formed (invalid token) at Line 92

this is a 5min feed

any suggestions? ty

ps - are you hireable for some help? pm plz

Quote:

Originally Posted by Digital Jedi (Post 1942246)
Usually the {rss:link} variable is the direct link to the video page. In most cases wrapping it in AME BBCode takes care of the embedding for you.

Code:

[AME]{rss:link}[/AME]


xTerMn8R 12-30-2009 06:07 PM

Great Mod, just installed and it looks like it's saved me a LOT of time making custom BBcodes(which was driving me crazy) but I'm still scratching my head try to get docstoc working.

Wondering if anyone can make a xml for http://www.docstoc.com ? This site allows users to upload and host pdf, pss, and a few other Documents type files... I've been trying to make some custom BBcode to get it done but I'm not having much success using variables.

Thanks for all the great work and support that has already taken place here,

Tom

MonkYZ 12-30-2009 07:42 PM

Quote:

Originally Posted by Digital Jedi (Post 1941024)
I just updated GameTrailers yesterday. Will release as part of a larger update this week, possibly. I'm only to the H's in the list so far, but I will likely find a stopping point somewhere and do a partial release, as well as skipping a few letters to take a look at YouTube, too.

Thanks Digital Jedi ! I can hardly wait for the update... And yes, i think YouTube is the most used one, so it should get a "special treatment" :D

Digital Jedi 12-30-2009 09:00 PM

Quote:

Originally Posted by greenflag (Post 1942428)
thx for fast reply - tried it and on rss preview getting this error;

XML Error: not well-formed (invalid token) at Line 92

this is a 5min feed

any suggestions? ty

ps - are you hireable for some help? pm plz

I don't think that AME would have anything to do with that, being that AME isn't parsed in the ACP preview. That sounds like an error with the feed itself.

I'm not available at the moment, as I'm trying to complete checking the Master XML for errors. A boat load have needed rewriting and I'm only halfway through so far.


Quote:

Originally Posted by xTerMn8R (Post 1942750)
Great Mod, just installed and it looks like it's saved me a LOT of time making custom BBcodes(which was driving me crazy) but I'm still scratching my head try to get docstoc working.

Wondering if anyone can make a xml for http://www.docstoc.com ? This site allows users to upload and host pdf, pss, and a few other Documents type files... I've been trying to make some custom BBcode to get it done but I'm not having much success using variables.

Thanks for all the great work and support that has already taken place here,

Tom

If you put it in my request area, I'll not forget to take a look at it. Not immediately, but at least it will be on the list.

xTerMn8R 12-30-2009 09:09 PM

Thank you DJ, No rush I know you're very busy...

Ok Copied post to Request Site...

Thanks Again,
Tom

greenflag 12-31-2009 01:39 AM

[QUOTE=Digital Jedi;1942884]I don't think that AME would have anything to do with that, being that AME isn't parsed in the ACP preview. That sounds like an error with the feed itself.
[QUOTE]

any idea how to fix feed? i would'nt know what to tell 5min

xTerMn8R 12-31-2009 07:49 PM

I'm trying to get the pdf For Local to work, but not having much luck...

When I use the default xml for Local (after making the Change in it for my Domain) I get a little blue box that shows the xml Header with the <i><b>Bla bla bla <b><i> tags surrounding it and the header links to the file I'm trying to embed...

The site that the Original xml points to ,(http://pdfmenot.com) Wont resolve for me , I dont know if they shut down or what, SO i Tried adapting it to use Google docs... Here's what I've got for Settings... ( 1 thing I noticed when I compared this expression to the other locals, were in the others there are NO [] around the http://, I've tried it both ways and no difference)

Regular Expression
Code:

([http://]*[\w]*[\.]*united4freedom\.[\w/&;%-\.]+\.pdf)

Replacement
Code:

<iframe src="http://docs.google.com/viewer?url={$url}&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>
It does put the Container on the site and hyper links the container header to the File, but gives me an error saying "Sorry we are unable to retrieve the document for Viewing, Please try again later" I've checked permissions on the folder holding the docs and even changed it to 777, still no doc...
Any help would be appreciated... :confused:

Happy New Year...

MagicThemeParks 12-31-2009 09:17 PM

1 Attachment(s)
DJ, the AllPosters.com code is not pulling the thumbnails it seems. See the attachment for what I'm getting.

Digital Jedi 01-01-2010 01:46 AM

Quote:

Originally Posted by xTerMn8R (Post 1943580)
I'm trying to get the pdf For Local to work, but not having much luck...

When I use the default xml for Local (after making the Change in it for my Domain) I get a little blue box that shows the xml Header with the <i><b>Bla bla bla <b><i> tags surrounding it and the header links to the file I'm trying to embed...

The site that the Original xml points to ,(http://pdfmenot.com) Wont resolve for me , I dont know if they shut down or what, SO i Tried adapting it to use Google docs... Here's what I've got for Settings... ( 1 thing I noticed when I compared this expression to the other locals, were in the others there are NO [] around the http://, I've tried it both ways and no difference)

Regular Expression
Code:

([http://]*[\w]*[\.]*united4freedom\.[\w/&;%-\.]+\.pdf)

Replacement
Code:

<iframe src="http://docs.google.com/viewer?url={$url}&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>
It does put the Container on the site and hyper links the container header to the File, but gives me an error saying "Sorry we are unable to retrieve the document for Viewing, Please try again later" I've checked permissions on the folder holding the docs and even changed it to 777, still no doc...
Any help would be appreciated... :confused:

Happy New Year...

In my opinion, you don't need to put http:// in brackets with a star (which makes it optional), as it's not likely that someone will paste and address from somewhere without them for most sites. That might be different if you're typing the URL in manually, so it's up to you.

I'd have to look at how Google Docs handles the document to know what's wrong. Your RegEx is working if it's converting. It's the embed code that's not working. Make sure the output is what you want, because currently you have the embed code putting the whole URL: http://www.docs.google.com/viewer?ur...cumentname.pdf.

Currently the one I've got just embeds the PDF, which might not be the best solution for large documents.

Quote:

Originally Posted by MagicThemeParks (Post 1943614)
DJ, the AllPosters.com code is not pulling the thumbnails it seems. See the attachment for what I'm getting.

Already got a new one that will fix that. I'm almost ready to post my update.

xTerMn8R 01-01-2010 06:27 AM

1 Attachment(s)
Thanks DJ for the responce...

I finally got it to work and made an xml file that will let ya post a .pdf from any site, including locally.

Regular Expression
Code:

([http://]*[\w]*[\.]*[\w]\.[\w/&;%-\.]+\.pdf)
Replacement
Code:

<iframe src="http://docs.google.com/viewer?url=$p1&embedded=true" width="$ameinfo[width]" height="$ameinfo[height]" align="center" style="border: none;"><param name="url" value="pdf=$p1" /></iframe>
One down, now if I can get one for DocStoc I'll be doing Great, I can do them with BBcode, but they pass 2 varibles so I have to use the "Option" in BBCode.
(ex. [doc=MemID]Document ID[/doc]) I dont know how to code that in AME definitions.

Thanks Again DJ and Please check my xml and make sure it's up to standards, and as it should be.

LOL what a way to spend New years Eve, troubleshooting embedding code...Go Figure....LOL

xTerMn8R 01-01-2010 03:07 PM

well go figure is right, this stuff worked great last night, but today it shows the container, it even shows the correct # of pages, and will let ya scroll through the pages,but shows no content and an X in the pages now... Man this stuff is wearing me out... I think its something with google docs , as the html Web page I made for testing the replacement (without variables ) last night doesn't work now either...

I have been able to get it to work using the standard Embed tag, but I dont know if that is gonna be Browser compatable with Firefox...

Replacement Code:
Code:

<iframe embed src="$p1" align="center" width="$ameinfo[width]" height="$ameinfo[height]" /><param name=url value="pdf/$p1" /></iframe>

Digital Jedi 01-02-2010 01:40 AM

Since I've only got a few more of these to go to complete a full check of the Master XML, I'll wait until then to do an update. Hopefully, only a few more days.

Digital Jedi 01-04-2010 08:22 PM

**UPDATES**

New Master XML and ZIP file available. This is a completely reworked set of each definition and I recommend nurfing what you got in favor of this. NOTE: Local Hosted are not part of the Master XML, so don't delete any of your Local Hosted defs if you don't need to. I did not include **Internal Linking in this Master or the ZIP, so don't delete those if you want to keep them. Also be sure not to delete any definitions you haven't made a backup of that wouldn't be in this set, like a custom definition or a site that isn't part of this list yet. The fist post list has been updated with what's in there.

This should correct the import problem people were having with the Master XML. Trimmed a lot of fat out of the set that wasn't needed anymore or that was no longer workable. Lost some site support, expanded many others and even added a few along the way. Also, some special definitions that handled things other than media got some new polish. With that said, I tried my best to make sure that older links would remain embeded, but not at the cost of not having a current working definition. So in some cases old posts will just be out of luck Let's get the bad news out of the way first.

Dropped Sites
Sites that either went offline, or that could no longer be worked out in any way.

Bebo
BrightCove
Carpix
ClipsShareDemo
EmbedGames
FileFront
Imeem
i-CAUGHT
Jumpcut
KillSomeTime
Leet Clips
Lively
PC Planets (Their YouTube and Meta Cafe imports still work, though)
Photography Mentor
PHPmotion
Putfile
ShadowSpear
Sharkle
US Soccer
ZippyVideo

Updated Definitions

Er, all of them! I can't even remember how many sites I was able to expand, but a by memory list would include adding live video support for Ustream, fixing MTV so it actually plays videos, adding some funky URLs to definitions that were lacking them, called Yatahonga on their phony embed code and made it work the way it's supposed to and just a host things I can't quite remember.


New Definitions
Couldn't resist the urge to add a few new ones along the way, especially since people have been bugging me for some of these for a while now.

Facebook (Videos)
Google Maps
JustinTV (Live & Clips)
Tangle
Nollywood
DisneyTube
Media Matters


Badges
The old zSHARE definition is nerfed. I never really liked it anyway. I came up with a new way of auto formating the link into what I like to call badges. (And if you say you don't need any stinking badges, I will shoot you.) So you'll need to add the following images for badges to work. Since coming up with this, this is the template for a few more upload sites I added to the definitions, as well as any future file sharing websites that might be added. They go in the images/misc/ folder of all skins you currently use and/or the default style.

https://vborg.vbsupport.ru/external/2013/02/48.png https://vborg.vbsupport.ru/external/2012/07/2.png https://vborg.vbsupport.ru/external/2013/02/51.png https://vborg.vbsupport.ru/external/2013/02/53.png

https://vborg.vbsupport.ru/external/2010/01/64.png https://vborg.vbsupport.ru/external/2010/01/65.png

HD Support
I've been thinking about this for a while now, and support for HD videos has just become too much of a hassle to make work properly in most cases, making me spend weeks on a definition, when I could have just spent a day or two. Often not getting the results I wanted anyway. Aside from that, what am I breaking my neck for, when almost everyone of those sites provides an HD button as well as the ability to go full screen? Add to that, how fair is forcing HD on users with slow connections or who didn't expect to load an HD video (or ten) when they clicked on a link? It's just not worth the hassle with the end result not being very practical to begin with, so I'm dropping HD support for definitions, other than when it's provided in the video screen itself.

Hornstar 01-04-2010 08:59 PM

Thanks!

So just making sure.... I can delete all my current ones and then import this new list?

Kolbi 01-04-2010 09:14 PM

Does AME need much ressources?

And does it need more ressources if I have installed a lot of definitions? Or doesn´t it matter?

Scitz0 01-04-2010 09:18 PM

Great work DJ as always :D

Kolbi 01-04-2010 09:33 PM

The Youtube definition causes xhtml issues:
http://validator.w3.org/check?uri=ht...idator%2F1.654

Is it possible that Amazon (Links).xml doesn?t include the reflink? And doesn?t include the picture? images/misc/amazon_icon.gif ?!?

Drago13 01-04-2010 10:25 PM

I take it these defs will not work with the new AME3 for vB4 ? :confused:

Stryker412 01-04-2010 11:30 PM

So Gametrailers works again?

Gamelobby 01-05-2010 12:08 AM

Quote:

Originally Posted by Stryker412 (Post 1947359)
So Gametrailers works again?

Game Trailers worked fine until i just deleted it & uploaded the new definition for "Game Trailers"
Now it doesn't work.!?

Unless we were supposed to upload the one titled "Game Trailers (Old)"

sgrisole 01-05-2010 12:40 AM

Flickr photostreams and sets don't work for me, only a black window is shown :mad:
I've updated to the latest definitions. My board runs on vBulletin 3.7.4 PL1.

Stryker412 01-05-2010 01:44 AM

Gametrailers didn't work for me but now works, with a small bug. The video has code around it that shows in the post.

Example:
http://www.shatteredplanet.org/forum...ead.php?t=2136


All times are GMT. The time now is 01:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02981 seconds
  • Memory Usage 1,868KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (10)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete