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-31-2008 02:39 AM

Well gang, I've been working at this for some time now, and it seems there are some issues with the HD versions of YouTube videos. Previously, YouTube HD and HQ URLs required appending special code to the end of the source of the video. This hasn't changed, but originally, having the special appended code on a video that did not have a corresponding high res video didn't matter. The Standard Def video would play instead. This was perfect for AME, since the best suited option for this, the way RegExes work, was to have one definition for all resolutions.

This is no longer the case with YouTube videos, as now, if the higher resolution video doesn't exist, and the specia code is appended to the source video, the source video can't be found. There are issue with the Regular Expression needed to parse YouTube videos, so a second definition is not working out either. If anyone has found a more tenable solution I'm all ears, because right now, HD and HQ will not be in the next update.

subzero06 12-31-2008 04:36 AM

OK,

How to fix the size of the embedded video????, it was working fine with the default one before i installed this plugin....after installed this plugin resized to small....i dont see any option to in the ame cp, so i just went to the youtube definition display and edited the width and height.
I have installed the latest stable version of this plugin and the base....im usin vbulletin 3.7.4

Digital Jedi 12-31-2008 04:54 AM

Quote:

Originally Posted by subzero06 (Post 1697631)
OK,

How to fix the size of the embedded video????, it was working fine with the default one before i installed this plugin....after installed this plugin resized to small....i dont see any option to in the ame cp, so i just went to the youtube definition display and edited the width and height.
I have installed the latest stable version of this plugin and the base....im usin vbulletin 3.7.4

If your using 2.5 your Height and Width options are right there under Settings in the AME CP.

If you removed the $ameinfo[height] and $ameinfo[width] variables from the YouTube definition, then your global size settings will have no effect on your YouTube videos. This can be a problem if your planning on allowing videos in signatures, profile comments, etc.

subzero06 12-31-2008 05:03 AM

No,

I'm using the version 2.0.2 (stable?)
Do you recommend to use 2.5?

hoangzu 12-31-2008 05:38 AM

1 Attachment(s)
Quote:

Originally Posted by Digital Jedi (Post 1697478)

Just post the URL to the video like you would ordinarily. You don't paste in the embed code. This converts the links to videos. Your users don't have to do anything else different then what they were doing before.

Thank you DJ for your quick reply,
After I follow your help it OK to embed to imeem playlist, but some where else like imeem music, youtube, yahoo, megavideo ...... they not realy work. Like picture below
Please give me more idea
Do I need to deleted those bb code like imeem music and youtube ?

** Before I install AME, I already add on BB Tags for imeem music, youtube

Digital Jedi 12-31-2008 06:17 AM

Quote:

Originally Posted by hoangzu (Post 1697667)
Thank you DJ for your quick reply,
After I follow your help it OK to embed to imeem playlist, but some where else like imeem music, youtube, yahoo, megavideo ...... they not realy work. Like picture below
Please give me more idea
Do I need to deleted those bb code like imeem music and youtube ?

** Before I install AME, I already add on BB Tags for imeem music, youtube

Your images say Preview. The embeded video does not show up in the Preview page.

hoangzu 12-31-2008 01:32 PM

Quote:

Originally Posted by Digital Jedi (Post 1697683)
Your images say Preview. The embeded video does not show up in the Preview page.

Thank you DJ
Even after I Submit It still not working :(

hoangzu 12-31-2008 03:02 PM

Thank you DJ
After I Fix Unique Indexes It working perfect now . Too many many Thank's to you. :)

MonkYZ 01-02-2009 08:12 AM

Can somebody tell me how can i add "&fmt=22" for youtube videos so i can see HD movies from youtube on my board ? Thx in advance !

Digital Jedi 01-02-2009 06:45 PM

Quote:

Originally Posted by MonkYZ (Post 1699094)
Can somebody tell me how can i add "&fmt=22" for youtube videos so i can see HD movies from youtube on my board ? Thx in advance !

See this post I made day-before-yesterday, MonkYZ. There are some problems related this: https://vborg.vbsupport.ru/showthread.php?p=1697587

MonkYZ 01-02-2009 09:51 PM

Quote:

Originally Posted by Digital Jedi (Post 1699557)
See this post I made day-before-yesterday, MonkYZ. There are some problems related this: https://vborg.vbsupport.ru/showthread.php?p=1697587

Thanks. I just read it... but i am not sure it's 100% correct. I mean, i just tried yesterday to play with youtube video links with and without "&fmt=22" code. For those who haven't got the HD/HQ version, the normal SD version was playing instead, and not telling me even a single time that "source video can't be found". But i was doing that in browser, maybe DJ's AME can't do that inside the code. Or maybe it needs to do some checkings first. Or at least just do a simple workarround and put a link at the bottom for the HD/HQ version, and whoever will want to see it, click it and be redirrected to youtube...

hoangzu 01-03-2009 12:38 AM

1 Attachment(s)
Hello DJ
I still wonder a imeem (Music) it still not working. I tried too many time. Howerver some thing else they worked very OK
Please give me any advise ;)
Thank you

PS: Imeem (Playlist) and Imeem (Video) it OK :)

Digital Jedi 01-03-2009 02:42 AM

Quote:

Originally Posted by MonkYZ (Post 1699755)
Thanks. I just read it... but i am not sure it's 100% correct. I mean, i just tried yesterday to play with youtube video links with and without "&fmt=22" code. For those who haven't got the HD/HQ version, the normal SD version was playing instead, and not telling me even a single time that "source video can't be found". But i was doing that in browser, maybe DJ's AME can't do that inside the code. Or maybe it needs to do some checkings first. Or at least just do a simple workarround and put a link at the bottom for the HD/HQ version, and whoever will want to see it, click it and be redirrected to youtube...

The problem is not the URL extension, but the source code URL extension.

High Quality: &ap=%2526fmt%3D18
High Definition: &ap=%2526fmt%3D22

That has to be at the end of the video source URL to play either version.

Take Jaxel's video for example. Here's the video source for Standard Def:

http://www.youtube.com/v/wGCZ7IjKFY8

Now to get the High Def version of that, you need this:

http://www.youtube.com/v/wGCZ7IjKFY8&ap=%2526fmt%3D22

This was not a problem in the past when they where doing just HQ. I could just put that in the source code and even if there was no HD or HQ version, it would still play the standard def version. This is not the case anymore. Like this video that doesn't have an HD version. Tack the HD code on the end, and you get a thumbnail, but no video content.

http://www.youtube.com/v/1bibCui3lFM&ap=%2526fmt%3D22

And getting a RegEx to match the &fmt=22 is easy, but since it can't match the standard YouTube definition, you need to make another one. But another def will still try to match the string up to that point, giving you two YouTube vids. I may have to do like you said, and just put a link to the HD versions, but even then, it's not always going to give them and HD video.

Digital Jedi 01-03-2009 02:44 AM

Quote:

Originally Posted by hoangzu (Post 1699904)
Hello DJ
I still wonder a imeem (Music) it still not working. I tried too many time. Howerver some thing else they worked very OK
Please give me any advise ;)
Thank you

PS: Imeem (Playlist) and Imeem (Video) it OK :)

Could you please give me the URL so I can test it?

hoangzu 01-03-2009 03:42 AM

Here a link I just posted above
Thanks DJ

hoangzu 01-03-2009 04:13 AM

I just found one link has been work
but other link i already give you before (post #175) it doesn't work
Thank's

Digital Jedi 01-03-2009 05:45 AM

Yeah, it's a strange URL pattern that I've never seen before, and I can't find the pattern for any other video on Imeem. But I'll have a definition here soon that should account for it.

hoangzu 01-04-2009 11:12 PM

Thank you DJ
Hopefully I'll get your definition very soon :)

synth19 01-04-2009 11:44 PM

great and installed!

synth19 01-05-2009 12:02 AM

1 Attachment(s)
Does anyone know why my vimeo embedded files look like this?

Digital Jedi 01-05-2009 02:27 AM

Quote:

Originally Posted by synth19 (Post 1701875)
Does anyone know why my vimeo embedded files look like this?

Please send me the link you used so I can trouble shoot.

Digital Jedi 01-05-2009 08:40 AM

Okay, after looking back through my notes I was able to come up with a solution for the HD/HQ YouTube videos after all. It's not quite what I wanted, but it's not going to be anywhere near the mess I had originally thought it would be. Good thing I keep notes. I'll have an update here for you tomorrow along with a few others. I'd post it now, but I need to configure a few things and I really need to sleep. Not to mention, my wife keeps walking back and forth from the bedroom to the bathroom groaning at me as walks by. (Of course, that could just be her usual 5:40 AM groan.)

synth19 01-05-2009 03:52 PM

Thanks DJ, here is the link:

http://www.exoticdriven.com/exotic-c....html#post1433

Digital Jedi 01-05-2009 04:03 PM

Quote:

Originally Posted by synth19 (Post 1702392)

What version of AME are you using?

synth19 01-05-2009 06:22 PM

^ I'm using version 2.0.2, is that the problem?

Digital Jedi 01-05-2009 07:40 PM

Quote:

Originally Posted by synth19 (Post 1702526)
^ I'm using version 2.0.2, is that the problem?

Yup, that's it. These definitions for for AME 2.5, which uses a variable for the height and width. AME 2.0 doesn't use those variables, so your height and width settings were empty. Just delete this set of definitions and import the set from my other thread. All the same sites are supported.

synth19 01-05-2009 09:18 PM

^ great, thanks! Do you mean this:

https://vborg.vbsupport.ru/showthread.php?t=175378

Digital Jedi 01-05-2009 10:01 PM

That's the one. Your in luck. I just updated it. :)

I'll be updating this one too a little later tonight, gang. Would have been sooner but I'm just too much of a perfectionist.

hoangzu 01-05-2009 10:10 PM

Hello DJ
Could you please check out for me this link below:
http://www.esnips.com/doc/db0e0fb1-f...-CoBeTreoMung-

Embed look like OK but It no sound
Thank you

glorify 01-05-2009 11:54 PM

ESPN changed their video tonight.

Link

Digital Jedi 01-06-2009 04:56 AM

Quote:

Originally Posted by hoangzu (Post 1702693)
Hello DJ
Could you please check out for me this link below:
http://www.esnips.com/doc/db0e0fb1-f...-CoBeTreoMung-

Embed look like OK but It no sound
Thank you

That's because that's a Windows Media File, and not their standard player. AME can't convert media of a different type then the one defined in the definition.


Quote:

Originally Posted by glorify (Post 1702789)
ESPN changed their video tonight.

Link

I see. Guess I'll have to add them to the update list.

zaimbat 01-06-2009 11:30 AM

Hi, if I link a wikipedia or a google search (I guess what else) I get the thumbnail (W), the name of the page requested but the ... oh jeez, i'll paste the code =)

Code:

<div style="display: none;" id="ame_noshow_post_1231247710_2">
        <a href="http://en.wikipedia.org/wiki/Y&amp;T" title="Wikipedia (Links)" target="_blank">Wikipedia (Links)</a>
</div>
<div style="display: inline;" id="ame_doshow_post_1231247710_2">
<a href="" target="_blank" title="Y&amp;T"><img src="images/misc/wikipedia_icon.gif" border="0" alt="Y&amp;T" /> Y&amp;T</a>
</div>

Why in the second part the "href" tag is empty?
If I edit the page I can see the correct url.
Am I doing something wrong?
(I have the 2.5 release)

this is the link: http://www.evolutionfest.it/forum2/s...ad.php?t=10022

Thank you

PS. youtube and other replacements work correctly, so I guess AME is working correctly

Digital Jedi 01-06-2009 02:59 PM

Quote:

Originally Posted by zaimbat (Post 1703183)
Hi, if I link a wikipedia or a google search (I guess what else) I get the thumbnail (W), the name of the page requested but the ... oh jeez, i'll paste the code =)

Code:

<div style="display: none;" id="ame_noshow_post_1231247710_2">
        <a href="http://en.wikipedia.org/wiki/Y&amp;T" title="Wikipedia (Links)" target="_blank">Wikipedia (Links)</a>
</div>
<div style="display: inline;" id="ame_doshow_post_1231247710_2">
<a href="" target="_blank" title="Y&amp;T"><img src="images/misc/wikipedia_icon.gif" border="0" alt="Y&amp;T" /> Y&amp;T</a>
</div>

Why in the second part the "href" tag is empty?
If I edit the page I can see the correct url.
Am I doing something wrong?
(I have the 2.5 release)

this is the link: http://www.evolutionfest.it/forum2/s...ad.php?t=10022

Thank you

PS. youtube and other replacements work correctly, so I guess AME is working correctly

I think I know why this is so. That's from the 2.0 set I just updated. I'll have to address this before I do the update for this thread. Expect a delay on this list today while I double check some of these issues.

Adem GEN? 01-06-2009 05:59 PM

1 Attachment(s)
For YoutubeTR

Definition http://www.youtubetr.tv

zaimbat 01-06-2009 06:07 PM

Quote:

Originally Posted by Digital Jedi (Post 1703305)
I think I know why this is so. That's from the 2.0 set I just updated. I'll have to address this before I do the update for this thread. Expect a delay on this list today while I double check some of these issues.

Oh great :) i look forward for your fix ^^
thanks

Digital Jedi 01-06-2009 08:15 PM

1 Attachment(s)
***UPDATES***

Okay gang, here's your first set of updates for 2009. The Local Hosted ZIP has been added to this thread (though, not all will use the global sizing variables) and the individual XML files are available as well in DJ's AMEs.zip. You, however, don't have to go through those files if you've already had these imported. I've created an update ZIP or XML file for your convenience.

WHAT"S NEW

**Internal Linking
You may notice the new set of defs towards the top of your list called Internal Linking. This set is entirely optional, of course, but will auto convert internal links using the info between your forum's <title></title> tags. It will also add a small image to the start of the tag based on your forums favicon image. (NOTE: If no favicon shows up, make a copy of the favicon in your website's root directory and add it to your forum's root directory)

This set includes defs that will convert Threads, Posts, Forums and Categories, as well as auto format a link to a member's profile page with their User Name. (The member link doesn't include a favicon image. You can add it if you want.)

This has not been thoroughly tested on a forum other then my own. So give me some feedback on if you like it or not. It also has not been optimized for people running SEOs of some kind. If you want support for your SEO you need to send me a link to your forum as well as let me know what SEO modification your running.



AllPosters (Thumbnails) et.al.
This set will convert almost all product links form AllPosters.com into thumbnails like the Amazon and CafePress definitions. There's very few products that will not convert, and these appear to be only frames, or anything that's been framed.

Also note that you can use your own affiliate ID with AllPosters if you have one just by replacing the three instances of mine in the Replacement HTML. Or you can leave it. Again, won't hurt my feelings.


CannabisTV
I'm not sure what this site's about, but I think it has something to do with botany.


Google (Search Results) (Let Me Google That For You)
Two new defs for Google include one that will convert search result links into a shorter formatted Google link.
Attachment 91862Google: Star+Wars

And a humorous one that will convert links into a redirect to LetMeGoogleThatForYou.com


The Let Me Google That For You definition is a variation on the one created by Vitaly.

There's two icons available, the old Google favicon Attachment 91863 and the new one Attachment 91862. Save them to your images/misc directory. It uses the new icon by default, but you can change the definition to the old one just by changing the Replacement HTML image source from _new to _old.

Imeem (Photos)
Didn't realize this site had embeddable photos, so here's a small def to correct that oversight.


Wikipedia (Links)
Here's a handy definition for auto converting Wikepdia links with a little icon at the front. Save this image to your images/misc directory. Attachment 91864


YouTube (HQ/HD)
By now you should all know what this is as often as it's been requested. This will embed High Def and High Quality YouTube videos based on the URL. Most of you already know to add the special string of characters to the end of the URL when you want to link to it. However, for these to convert, you'll need to add the string after the watch?, before the v=, like so:


This is the concession I had to make just to get HD and HQ videos to work with AME. Remember that this will only work if a corresponding HQ/HD video for a given URL exists. Here's the code you need for each type of video:


High Def: fmt=22&
High Quality:fmt=18&




WHAT'S UPDATED

The following defs where updated mostly because of code changes by the supported sites.


Imeem (Music)
Imeem (Videos)
MySpace

YouTube
Somewhere along the way, the Full Screen option disappeared from this definition. I've worked it back in along with a new feature. Deep Linking. Sounds like something you'd get from the back end of the video store, right? Not in this case. Deep linking is YouTube's relatively new ability to jump to a fixed time frame inside a video. In order to do this, append the URL of your YouTube video with #t=XXs where XX is the number of seconds into the video you want to jump. (NOTE: I know some of you already know of this, but what's different here is that you cannot use minutes and seconds in the URL. You have to use seconds only, so you'll have to do just a little head math.)

For example, click http://www.youtube.com/watch?v=FuQRmtBq-ls#t=120s and playback will begin exactly 120 seconds or 2 minutes into the video. This will not work with the HD videos, but will work for any other YouTube link.


As always, the updates have been added to the Main ZIP and the Master XML. But you can download them here absolutely free!.

And that's all! Hope you all enjoy!

Digital Jedi 01-06-2009 08:19 PM

**NAME CHANGE**
In addition, I'm changing the name of DJ's Master XML in this set to Delta, because, well, DJ's Master XML 2 sounds lame, and Delta helps me to better distinguish things. So lemmelone'...

ArnyVee 01-06-2009 08:48 PM

Okay, we'll let you use Delta ;)

DJ, will it be safe for me to use the new definitions? I know that you had tested out some 'fixes' with the Amazon and AllPosters on my sites and just wanted to make sure before I imported these. :D

Digital Jedi 01-07-2009 12:54 AM

Quote:

Originally Posted by ArnyVee (Post 1703616)
Okay, we'll let you use Delta ;)

DJ, will it be safe for me to use the new definitions? I know that you had tested out some 'fixes' with the Amazon and AllPosters on my sites and just wanted to make sure before I imported these. :D

This "should" work on your site Arny. The only thing you won't need are the AllPosters definitions, since your site is where I first did my trial runs of them. You've already got the finalized versions of those. But other then those, the updated defs should all work on your board.

Could have been worse. I was considering Delta Force prior to sanity taking hold again.

hoangzu 01-07-2009 04:41 AM

Thank you so much DJ
I just update Delta and I justed embed Imeem (Music) that it didn't work before. Now It worked like charm
Thank's so much for your work hard :)


All times are GMT. The time now is 10:51 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
  • Page Generation 0.02829 seconds
  • Memory Usage 1,871KB
  • 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
  • (2)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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